Provides double-precision floating point helper functions.
Description
Returns the absolute value of the given double-precision floating-point number d
, preserving NaN
and infinity.
Declaration and definitions
#include "starboard/double.h" double SbDoubleAbsolute(double /*d*/) { return 0.0; }
Parameters
Description
Returns base
taken to the power of exponent
.
Declaration and definitions
#include "starboard/double.h" double SbDoubleExponent(const double /*base*/, const double /*exponent*/) { return 0.0; }
Parameters
Description
Floors double-precision floating-point number d
to the nearest integer.
Declaration and definitions
#include "starboard/double.h" double SbDoubleFloor(double /*d*/) { return 0.0; }
Parameters
Description
Determines whether double-precision floating-point number d
represents a finite number.
Declaration and definitions
#include "starboard/double.h" bool SbDoubleIsFinite(const double /*d*/) { return false; }
Parameters
Description
Determines whether double-precision floating-point number d
represents “Not a Number.”
Declaration and definitions
#include "starboard/double.h" bool SbDoubleIsNan(const double /*d*/) { return false; }
Parameters