Changes between Initial Version and Version 2 of Ticket #202


Ignore:
Timestamp:
Aug 29, 2008, 1:19:30 PM (16 years ago)
Author:
mloskot
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #202 – Description

    initial v2  
    2525{
    2626   unsigned int arr[2] = { 0 };
    27    std::memcpy(arr, &x, sizeof(double));
     27   std::memcpy(arr, &d, sizeof(double));
    2828   return (arr[0] ^ (((arr[1] >> 16) & 0x000000FF)
    2929           | ((arr[1] >> 8) & 0x0000FF00)