a.index(float('nan')) fails
Nobody
nobody at nowhere.com
Sat Oct 27 12:45:50 EDT 2012
On Sat, 27 Oct 2012 08:56:16 +0200, Thomas Rachel wrote:
> Am 27.10.2012 06:48 schrieb Dennis Lee Bieber:
>
>> I don't know about the more modern calculators, but at least up
>> through my HP-41CX, HP calculators didn't do (binary) "floating
>> point"... They did a form of BCD with a fixed number of significant
>> /decimal/ digits
>
> Then, what about sqrt(x)**2 or arcsin(sin(x))? Did that always return
> the original x?
I'd be impressed if it managed the latter, i.e. arcsin(sin(0))==0 while
arcsin(sin(pi))==pi ;)
More information about the Python-list
mailing list