Overloads of fabs() for both double and float are only available from C++'s header, not the C header.
Every other math function already correctly used the non-overloaded function name; this was the only outlier. While NanoVDB is written in C++, this change helps avoid requiring C++ headers to be included, which significantly affect compilation time, especially for projects performing just-in-time compilation at runtime.
Overloads of header, not the C header.
fabs()
for bothdouble
andfloat
are only available from C++'sEvery other math function already correctly used the non-overloaded function name; this was the only outlier. While NanoVDB is written in C++, this change helps avoid requiring C++ headers to be included, which significantly affect compilation time, especially for projects performing just-in-time compilation at runtime.