C++ Logo


Advanced search

Subject: Re: Out-of-range floating-point conversion behavior
From: Giuseppe D'Angelo (giuseppe.dangelo_at_[hidden])
Date: 2019-06-07 12:14:25

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.


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

STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups