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

Method Signbit

go/fory/float16/float16.go:285–287  ·  view source on GitHub ↗

Signbit reports whether f is negative or negative zero.

()

Source from the content-addressed store, hash-verified

283
284// Signbit reports whether f is negative or negative zero.
285func (f Float16) Signbit() bool {
286 return (f & maskSign) != 0
287}
288
289// String returns the string representation of f.
290func (f Float16) String() string {

Callers 5

compatibleValueToStringFunction · 0.80
compatibleValueToHalfFunction · 0.80
TestBFloat16_ConversionFunction · 0.80
TestFloat16_ConversionFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestBFloat16_ConversionFunction · 0.64
TestFloat16_ConversionFunction · 0.64