MCPcopy Create free account
hub / github.com/NVIDIA/cutlass / isnormal

Function isnormal

include/cutlass/tfloat32.h:224–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224CUTLASS_HOST_DEVICE
225bool isnormal(cutlass::tfloat32_t const& h) {
226 return h.exponent_biased() && h.exponent_biased() != 0x0ff;
227}
228
229CUTLASS_HOST_DEVICE
230int fpclassify(cutlass::tfloat32_t const& h) {

Callers

nothing calls this directly

Calls 1

exponent_biasedMethod · 0.45

Tested by

no test coverage detected