Source File
enc_float.go
Belonging Package
github.com/go-faster/jx
package jx
// Float32 encodes float32.
//
// NB: Infinities and NaN are represented as null.
func ( *Encoder) ( float32) bool {
return .comma() ||
.w.Float32()
}
// Float64 encodes float64.
//
// NB: Infinities and NaN are represented as null.
func ( *Encoder) ( float64) bool {
return .comma() ||
.w.Float64()
}
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |