Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22233

Round double to nearest non subnormal representation

$
0
0

In C++ there are (sometimes) subnormal doubles that are finite, not nan and not zero.

How can I round them to nearest non subnormal double representation?

For example: std::isnormal(DBL_MIN/2.0) = false


Viewing all articles
Browse latest Browse all 22233

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>