MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / decFloatIsSubnormal

Function decFloatIsSubnormal

extern/decNumber/decBasic.c:2448–2455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2446 return DFISSIGNED(df);
2447 }
2448uInt decFloatIsSubnormal(const decFloat *df) {
2449 if (DFISSPECIAL(df)) return 0;
2450 // is finite
2451 if (decFloatIsNormal(df)) return 0;
2452 // it is <Nmin, but could be zero
2453 if (DFISZERO(df)) return 0;
2454 return 1; // is subnormal
2455 }
2456uInt decFloatIsZero(const decFloat *df) {
2457 return DFISZERO(df);
2458 } // decFloatIs...

Callers

nothing calls this directly

Calls 1

decFloatIsNormalFunction · 0.85

Tested by

no test coverage detected