""" Simple test script for cmathmodule.c
from test
.test_support
import verbose
, verify
, TestFailed
verify(abs(cmath
.log(10) - math
.log(10)) < 1e-9)
verify(abs(cmath
.log(10,2) - math
.log(10,2)) < 1e-9)
testdict
= {'acos' : 1.0,
for func
in testdict
.keys():
print 'Calling %s(%f) = %f' % (func
, testdict
[func
], abs(r
))