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.
17 lines
313 B
17 lines
313 B
package jx |
|
|
|
// Float32 encodes float32. |
|
// |
|
// NB: Infinities and NaN are represented as null. |
|
func (e *Encoder) Float32(v float32) { |
|
e.comma() |
|
e.w.Float32(v) |
|
} |
|
|
|
// Float64 encodes float64. |
|
// |
|
// NB: Infinities and NaN are represented as null. |
|
func (e *Encoder) Float64(v float64) { |
|
e.comma() |
|
e.w.Float64(v) |
|
}
|
|
|