30 lines
547 B
Markdown
30 lines
547 B
Markdown
![]() |
nicefloats
|
||
|
==========
|
||
|
|
||
|
an erlang implementation of nice decimal representations of floating point numbers, based on "Printing FLoating-Point Numbers Quickly and Accurately" by Burger & Dybvig
|
||
|
|
||
|
|
||
|
### usage ###
|
||
|
|
||
|
`nicefloats:format(Float)`
|
||
|
|
||
|
|
||
|
### installation ###
|
||
|
|
||
|
`make` or `./rebar compile` to build nicefloats
|
||
|
|
||
|
`make test` or `./rebar eunit` to run tests
|
||
|
|
||
|
|
||
|
### notes ###
|
||
|
|
||
|
this project was originally a part of [jsx][1], and remnants of that projects history may linger. try to ignore it.
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
[1]: http://www.github.com/talentdeficit/jsx/
|