On 5/16/2016 7:47 AM, Max Samukha wrote:
On Monday, 16 May 2016 at 14:21:34 UTC, Ola Fosheim Grøstad wrote:

C++17 is getting hex literals for floating point for a reason: accurate bit
level representation.

D has had hex FP literals for ages.


Since the first version, if I recall correctly. Of course, C++ had the idea 
first!

(Actually, the idea came from the NCEG (Numerical C Extensions Group) work in the early 90's, which was largely abandoned. C++ has been very slow to adapt to the needs of numerics programmers.)

Reply via email to