Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HUGE_VAL, _HUGE

#include <math.h>

HUGE_VAL is the largest representable double value. This value is returned by many run-time math functions when an error occurs. For some functions, –HUGE_VAL is returned. HUGE_VAL is defined as _HUGE, but run-time math functions return HUGE_VAL. You should also use HUGE_VAL in your code for consistency.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.