BRL-CAD
Loading...
Searching...
No Matches
#include "common.h"
#include "bn/defines.h"
Include dependency graph for ulp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double bn_ulp (double val)
 Calculate unit in the last place (ULP) for a given value.
 
float bn_ulpf (float val)
 same as bn_ulp() but for single precision floating point.
 
Machine epsilons, smallest step after 1.0 @ {
double bn_dbl_epsilon (void)
 
float bn_flt_epsilon (void)
 
Numeric positive normalized range limits @ {
double bn_dbl_min (void)
 
double bn_dbl_max (void)
 
float bn_flt_min (void)
 
float bn_flt_max (void)
 
Square-rooted limits @ {
float bn_flt_min_sqrt (void)
 
float bn_flt_max_sqrt (void)
 
double bn_dbl_min_sqrt (void)
 
double bn_dbl_max_sqrt (void)
 
Next possible value up/down from a given value @ {
double bn_nextafter_up (double val)
 
double bn_nextafter_dn (double val)
 
float bn_nextafterf_up (float val)
 
float bn_nextafterf_dn (float val)