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()
}