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

Function isnan

include/cutlass/tfloat32.h:203–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203CUTLASS_HOST_DEVICE
204bool isnan(cutlass::tfloat32_t const& h) {
205 return (h.exponent_biased() == 0x0ff) && h.mantissa();
206}
207
208CUTLASS_HOST_DEVICE
209bool isfinite(cutlass::tfloat32_t const& h) {

Callers

nothing calls this directly

Calls 2

exponent_biasedMethod · 0.45
mantissaMethod · 0.45

Tested by

no test coverage detected