Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tidwall committed Jan 3, 2025
1 parent a2c76a1 commit 248e74b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
10 changes: 5 additions & 5 deletions deps/.package
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import github.com/tidwall/json.c v1.1.6
import github.com/tidwall/ryu v0.1.1
import github.com/tidwall/json.c v1.1.7
import github.com/tidwall/ryu v0.2.1

sum 9e3b4df3dbdd94c9d933869f6b5d16eb7718b8cf json.c
sum cba8cb6c700fc38902e8ddcaf0b056adad3227be json.c
sum 1a58747fed3daf14985bf9dea43aabea0de57c4d json.h
sum 334fc186823e4dd91b874de61cbb9773abadd006 ryu.c
sum 3c60be20bee0d1c756750a71ccf3db1eb83f5f5b ryu.h
sum 47d36a9e261a02c9ca14d628f614453e4198586a ryu.c
sum 78b34e436ad29756dd3a2f8df9b72f6a13ecb9af ryu.h
9 changes: 8 additions & 1 deletion deps/ryu.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@
// If the returned length is greater than nbytes-1, then only a parital copy
// occurred.
//
// The fmt argument can be 'f' for full decimal or 'e' for scientific notation.
// The format is one of
// 'e' (-d.ddddedd, a decimal exponent)
// 'E' (-d.ddddEdd, a decimal exponent)
// 'f' (-ddd.dddd, no exponent)
// 'g' ('e' for large exponents, 'f' otherwise)
// 'G' ('E' for large exponents, 'f' otherwise)
// 'j' ('g' for large exponents, 'f' otherwise) (matches javascript format)
// 'J' ('G' for large exponents, 'f' otherwise) (matches javascript format)
size_t ryu_string(double d, char fmt, char dst[], size_t nbytes);

#endif

0 comments on commit 248e74b

Please sign in to comment.