MCPcopy Create free account
hub / github.com/apache/fory / IsFinite

Method IsFinite

go/fory/float16/float16.go:267–269  ·  view source on GitHub ↗

IsFinite reports whether f is neither NaN nor an infinity.

()

Source from the content-addressed store, hash-verified

265
266// IsFinite reports whether f is neither NaN nor an infinity.
267func (f Float16) IsFinite() bool {
268 return (f & maskExp) != maskExp
269}
270
271// IsNormal reports whether f is a normal value (not zero, subnormal, infinite, or NaN).
272func (f Float16) IsNormal() bool {

Callers 5

compatibleValueToStringFunction · 0.80
compatibleValueRatFunction · 0.80
FromHalfCheckedMethod · 0.80
FromSingleCheckedMethod · 0.80
FromDoubleCheckedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected