Commit Graph

2 Commits

Author SHA1 Message Date
Marc Tiehuis
18ad50970f Make parseFloat stricter in what it accepts as input 2019-02-15 17:32:13 +13:00
Marc Tiehuis
c34ce6878e Add parseFloat to std.fmt
This is not intended to be the long-term implementation as it doesn't
provide various properties that we eventually will want (e.g.
round-tripping, denormal support). It also uses f64 internally so the
wider f128 will be inaccurate.
2019-02-14 00:07:51 +13:00