Changes between Initial Version and Version 1 of Ticket #23061, comment 17


Ignore:
Timestamp:
Aug 8, 2017, 5:00:51 AM (2 years ago)
Author:
yawning
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23061, comment 17

    initial v1  
    1212  x >>= (sizeof(double) * CHAR_BIT) - DBL_MANT_DIG;
    1313  return (DBL_EPSILON/2) * x;
     14}
    1415}}}
    1516
     
    4344
    4445Yes this still leaves out "possible" values, but it trivially accomplishes uniform, fast, and constant time.
     46
     47Edit: Left out a `}`.