SilverScreen Solid Modeler

equal_double

equal_double

Previous topic Next topic  

equal_double

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

int equal_double ( double x, double y )

 

double x;          // any double value

double y;          // any double value

 

 




Synopsis

#include "silver.h"

 

The equal_double function tests whether two double values are regarded as equal to SilverScreen. That means that the two quantities are within epsilon (the system equality threshold) of each other.

 

 

Parameters

x and y may be any double values.

 

 

Return Value

equal_double returns 1 if the two quantities are within epsilon of each other, and 0 if not.