[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


nextafter

The facility nextafter determines the next representable value in the type of the function, after x in the direction of y, where x and y are first converted to the type of the function

Compatibility:

This facility is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32

Defined:
#include <math.h>

#define nextafter(x,y) 
  ( (sizeof(x) == sizeof(float)) ?
   nextafterf(x,y) :
  (sizeof(x) == sizeof(double)) ?
   nextafterd(x,y)
Parameters:

Parameters for this macro are:

x  
float   double   long double  
current representable value  
y  
float   double   long double  
direction  

Return:

The next representable value after x.


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000