Message263362
>>> print math.sqrt(2.0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: math domain error
I'm surprised that such basic math function fails.
Can you please try to compile and run attached C program?
$ gcc sqrt.c -o sqrt -lm && ./sqrt
sqrt(2) = 1.41421 |
|
Date |
User |
Action |
Args |
2016-04-14 00:45:12 | vstinner | set | recipients:
+ vstinner, rhettinger, mark.dickinson, serhiy.storchaka, ragreddy |
2016-04-14 00:45:12 | vstinner | set | messageid: <1460594712.22.0.819766654869.issue26743@psf.upfronthosting.co.za> |
2016-04-14 00:45:12 | vstinner | link | issue26743 messages |
2016-04-14 00:45:11 | vstinner | create | |
|