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

Method String

go/fory/float16/float16.go:290–292  ·  view source on GitHub ↗

String returns the string representation of f.

()

Source from the content-addressed store, hash-verified

288
289// String returns the string representation of f.
290func (f Float16) String() string {
291 return fmt.Sprintf("%g", f.Float32())
292}
293
294// Arithmetic operations (promoted to float32)
295

Callers 15

main.goFile · 0.45
TestFloat16_ArithmeticFunction · 0.45
mainFunction · 0.45
generateCodeForFileFunction · 0.45
generateCodeFunction · 0.45
generateCompileGuardFunction · 0.45
formatGoTypeFunction · 0.45
generateFieldReadTypedFunction · 0.45
generateOptionReadTypedFunction · 0.45
generateOptionValueReadFunction · 0.45
generateSliceElementReadFunction · 0.45
generateSliceReadInlineFunction · 0.45

Calls 1

Float32Method · 0.95

Tested by 1

TestFloat16_ArithmeticFunction · 0.36