MCPcopy Create free account
hub / github.com/VectorDB-NTU/RaBitQ-Library / abs

Function abs

include/rabitqlib/third/Eigen/src/Core/MathFunctions.h:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23// This issue has been confirmed with MSVC 2008 only, but the issue might exist for more recent versions too.
24#if EIGEN_OS_WINCE && EIGEN_COMP_MSVC && EIGEN_COMP_MSVC<=1500
25long abs(long x) { return (labs(x)); }
26double abs(double x) { return (fabs(x)); }
27float abs(float x) { return (fabsf(x)); }
28long double abs(long double x) { return (fabsl(x)); }

Callers 15

stable_norm_implFunction · 0.70
blueNorm_implFunction · 0.70
hypotNormMethod · 0.70
pabsFunction · 0.70
isUpperTriangularMethod · 0.70
isLowerTriangularMethod · 0.70
isDiagonalMethod · 0.70
runMethod · 0.70
runMethod · 0.70

Calls 1

hypotFunction · 0.85

Tested by 4

TESTFunction · 0.40
FloatNearlyEqualFunction · 0.40
DoubleNearlyEqualFunction · 0.40
RelativeErrorFunction · 0.40