diff options
Diffstat (limited to 'newlib/libm/common/s_log2.c')
-rw-r--r-- | newlib/libm/common/s_log2.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/newlib/libm/common/s_log2.c b/newlib/libm/common/s_log2.c index 0b1ec1d63..724148c57 100644 --- a/newlib/libm/common/s_log2.c +++ b/newlib/libm/common/s_log2.c @@ -38,10 +38,6 @@ macros defined in math.h: . #define log2f(x) (logf (x) / (float) _M_LN2) To use the functions instead, just undefine the macros first. -You can use the (non-ANSI) function <<matherr>> to specify error -handling for these functions, indirectly through the respective <<log>> -function. - RETURNS The <<log2>> functions return @ifnottex @@ -54,8 +50,7 @@ on success. When <[x]> is zero, the returned value is <<-HUGE_VAL>> and <<errno>> is set to <<ERANGE>>. When <[x]> is negative, the returned value is NaN (not a number) and -<<errno>> is set to <<EDOM>>. You can control the error behavior via -<<matherr>>. +<<errno>> is set to <<EDOM>>. PORTABILITY C99, POSIX, System V Interface Definition (Issue 6). |