On 10 September 2013 22:49, Brandon Allbery <allbery.b@gmail.com> wrote:However, for the same CPU and the same pair of inputs floatadd(A, B)
> On Tue, Sep 10, 2013 at 5:11 PM, Oscar Benjamin <oscar.j.benjamin@gmail.com>
> wrote:
>>
>> What do you mean when you say that floating point can't be capture in
>> a simple functional description?
>
> *You* try describing the truncation behavior of Intel FPUs (they use 80 bits
> internally but only store 64, for (double)). "Leaving aside" isn't an
> option; it's visible in the languages that use them.
returns the same result right? The result may differ from one CPU to
through computation). What is it about functional programming
languages that makes this difficult as you implied earlier?