cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
COmparing NaN with a number
COmparing NaN with a number
Jun 18, 2017 at 1:34am UTC
waschbaer
(22)
Hi,
I am wondering what will happen if I want to get min of NaN and an arbitrary number?
Best,
waschbaer
Last edited on
Jun 18, 2017 at 1:35am UTC
Jun 18, 2017 at 2:32am UTC
JLBorges
(13770)
NaN requires special-casing when any standard library algorithm involving comparisons is used.
See:
http://www.cplusplus.com/forum/lounge/142647/#msg753191
Jun 19, 2017 at 7:41pm UTC
waschbaer
(22)
THanks
Topic archived. No new replies allowed.