Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ v10.0 : C library - <b>the values returned by the mathematics functions on domain errors (4.5.1).</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
The values returned by the mathematics functions on domain errors (4.5.1).

When a domain error occurs, the listed values are returned by the following
functions:

acos
    0.0

acosh
    - HUGE_VAL

asin
    0.0

atan2
    0.0

atanh
    - HUGE_VAL

log
    - HUGE_VAL

log10
    - HUGE_VAL

log2
    - HUGE_VAL

pow(neg,frac)
    0.0

pow(0.0,0.0)
    1.0

pow(0.0,neg)
    - HUGE_VAL

sqrt
    0.0

y0
    - HUGE_VAL

y1
    - HUGE_VAL

yn
    - HUGE_VAL

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson