PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ rt_util_clamp_to_32F()

float rt_util_clamp_to_32F ( double  value)

Definition at line 81 of file rt_util.c.

81 {
82 if (isnan(value))
83 return value;
84 return (float)fmin(fmax((value), -FLT_MAX), FLT_MAX);
85}
int value
Definition genraster.py:62

Referenced by rt_band_corrected_clamped_value(), rt_band_init_value(), rt_band_set_nodata(), rt_band_set_pixel(), and rt_pixtype_compare_clamped_values().

Here is the caller graph for this function: