[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: compute cubic root with negative argument
- From: Dirk Laurie <dirk.laurie@...>
- Date: Fri, 15 Apr 2016 12:52:42 +0200
2016-04-15 10:15 GMT+02:00 Enrico Colombini <erix@erix.it>:
> I wondered about what numbers Google consider to be 'integer'. It happens to
> be about here:
>
> y = x ^ (1 / 2.9999999999999999)
>
> Take out one '9' and only the x-positive part of the curve is shown.
This happens to correspond exactly with Lua.
> 3-2.9999999999999999
0.0
> 3-2.999999999999999
8.8817841970013e-16
Maybe Google, too, uses IEEE 754 arithmetic?