You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
296 B
11 lines
296 B
package jx |
|
|
|
// Float32 encodes float32. |
|
// |
|
// NB: Infinities and NaN are represented as null. |
|
func (w *Writer) Float32(v float32) { w.Float(float64(v), 32) } |
|
|
|
// Float64 encodes float64. |
|
// |
|
// NB: Infinities and NaN are represented as null. |
|
func (w *Writer) Float64(v float64) { w.Float(v, 64) }
|
|
|