Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Jan 12, 2022
1 parent 5e53286 commit 970ee49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions w_float_bits.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"strconv"
)

// Float writes float value to buffer.
func (w *Writer) Float(v float64, bits int) {
if math.IsNaN(v) || math.IsInf(v, 0) {
// Like in ECMA:
Expand Down

0 comments on commit 970ee49

Please sign in to comment.