C++ Logo

std-discussion

Advanced search

Re: Out-of-range floating-point conversion behavior

From: Giuseppe D'Angelo <giuseppe.dangelo_at_[hidden]>
Date: Fri, 7 Jun 2019 19:14:25 +0200
Il 07/06/19 02:57, Myria via Std-Discussion ha scritto:
> Also, I should look up IEEE 754 rules. C++ says floating-point divide
> by zero is undefined behavior, but IEEE 754 defines it. Do
> implementations that claim support IEEE 754 in is_iec559 have to define
> floating-point operations that IEEE 754 defines but C++ itself does not?

See https://stackoverflow.com/a/51487703

for lots of useful pointers.


HTH,
-- 
Giuseppe D'Angelo | giuseppe.dangelo_at_[hidden] | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

Received on 2019-06-07 12:16:16