NEXTAFTER(3) BSD Library Functions Manual NEXTAFTER(3)NAME
nextafter(double x, double y);
nextafterf(float x, float y);
The nextafter() and nextafterf() functions return the next machine representable number from x in direction y.
nextafter(x, y) raises the "overflow" and "inexact" floating-point exceptions for x finite and the function value infinite.
nextafter(x, y) raises the "underflow" and "inexact" floating-point exceptions for the function value subnormal or zero and x not equal to y.
SEE ALSO math(3)STANDARDS
The nextafter() and nextafterf() functions conform to ISO/IEC 9899:1999(E).
BSD January 28, 2003 BSD
Check Out this Related Man Page
NEXTAFTER(3) libc math functions NEXTAFTER(3)NAME
nextafter, nexttoward - floating point number manipulation
double nextafter(double x, double y);
float nextafterf(float x, float y);
long double nextafterl(long double x, long double y);
double nexttoward(double x, long double y);
float nexttowardf(float x, long double y);
long double nexttowardl(long double x, long double y);
The nextafter() functions return the next representable neighbor of x in the direction towards y. The size of the step between x and the
result depends on the type of the result. If x = y the function simply returns y. If either value is NaN, then NaN is returned. Other-
wise a value corresponding to the value of the least significant bit in the mantissa is added or subtracted, depending on the direction.
The nexttoward() functions do the same as the nextafter() functions, except that they have a long double second argument.
These functions will signal overflow or underflow if the result goes outside of the range of normalized numbers.
C99. This function is defined in IEC 559 (and the appendix with recommended functions in IEEE 754/IEEE 854).
SEE ALSO nearbyint(3)GNU 2002-08-10 NEXTAFTER(3)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
I'm trying to delete a file with a weird name from within Terminal on a Mac.
It's a very old file (1992) with null characters in the name: ââWord FinderÂŽ Plusâ˘.
Here are some examples of what I've tried:
12FX009:5 dpontius$ ls
ââWord FinderÂŽ Plusâ˘
12FX009:5 dpontius$ rm... (29 Replies)