Changes between Initial Version and Version 1 of Ticket #23061, comment 17
- Timestamp:
- Aug 8, 2017, 5:00:51 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23061, comment 17
initial v1 12 12 x >>= (sizeof(double) * CHAR_BIT) - DBL_MANT_DIG; 13 13 return (DBL_EPSILON/2) * x; 14 } 14 15 }}} 15 16 … … 43 44 44 45 Yes this still leaves out "possible" values, but it trivially accomplishes uniform, fast, and constant time. 46 47 Edit: Left out a `}`.