nexttowardf man page on Darwin

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
Darwin logo
[printable version]

NEXTTOWARD(3)		 BSD Library Functions Manual		 NEXTTOWARD(3)

NAME
     nexttoward

SYNOPSIS
     #include <math.h>

     double
     nexttoward(double x, long double y);

     long double
     nexttowardl(long double x, long double y);

     float
     nexttoward(float x, long double y);

DESCRIPTION
     The nexttoward() functions return the next machine representable number
     from x in direction of y.	It is identical to nextafter() except that the
     second parameter has type long double, and the function returns y con‐
     verted to the type of the function if x and y are equal.

SPECIAL VALUES
     nexttoward(x, y) raises the "overflow" and "inexact" floating-point
     exceptions for x finite and the function value infinite.

     nexttoward(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
     nextafter(3) math(3)

STANDARDS
     The nexttoward() functions conform to ISO/IEC 9899:2011.

BSD				 July 02, 2008				   BSD
[top]

List of man pages available for Darwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net