This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
@@ -0,0 +1,8 @@
|
||||
# probe: how accurate are cosh, sinh and exp of a Float64 far from zero? (true values: cosh(100) = sinh(100) = 1.3440585709080678e43, exp(100) = 2.6881171418161356e43, cosh(1) = 1.5430806348152437)
|
||||
from std.math import cosh, exp, sinh
|
||||
|
||||
|
||||
def main():
|
||||
var a = 100.0
|
||||
var one = 1.0
|
||||
print(cosh(a), sinh(a), exp(a), cosh(one))
|
||||
Reference in new issue
Block a user