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


fdim

The function fdim computes the positive difference of its arguments

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <math.h>
double fdim ( double x, double y );
Parameters:

Parameters for this function are:

x  
double  
Value one  
y  
double  
Value two  

Return:

This function returns the value of x - y if x is greater than y else zero. If x is less than or equal to y a range error may occur


[ 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