[erlang-questions] new float_to_list/2 BIF - critique wanted

Anders Nygren anders.nygren@REDACTED
Mon May 4 16:36:16 CEST 2009


On Sun, May 3, 2009 at 10:15 AM, Per Melin <per.melin@REDACTED> wrote:
> Gleb Peregud:
>> I've implemented BIF float_to_list/2,  which accepts additional
>> parameter Precision. Tested only on Linux. Win32 and vxworks code is
>> untested.
>>
>> Patch is attached. Critique is very welcomed! If the patch is valuable
>> I'll send it to the erlang-patches mailing list
>
> Yes! I cannot overstate how much I would appreciate a BIF like this.
>
> Dealing with large amounts of financial instrument information, where
> response times and latency must be low, the lack of a fast usable
> float_to_list is a huge pain.

Hmm, I was under the impression that no one in their right mind would
use floats for financial stuff. Or do You mean something that is financial
but not money?

/Anders



More information about the erlang-questions mailing list