Guido van Rossum | 5de1f8d | 1996-12-10 16:02:14 +0000 | [diff] [blame^] | 1 | #! /usr/bin/env python |
2 | """ Simple test script for cmathmodule.c | ||||
3 | Roger E. Masse | ||||
4 | """ | ||||
5 | import cmath | ||||
6 | |||||
7 | cmath.acos(1.0) | ||||
8 | cmath.acosh(1.0) | ||||
9 | cmath.asin(1.0) | ||||
10 | cmath.asinh(1.0) | ||||
11 | cmath.atan(0.2) | ||||
12 | cmath.atanh(0.3) | ||||
13 | cmath.cos(1.0) | ||||
14 | cmath.cosh(1.0) | ||||
15 | cmath.exp(1.0) | ||||
16 | cmath.log(1.0) | ||||
17 | cmath.log10(1.0) | ||||
18 | cmath.sin(1.0) | ||||
19 | cmath.sinh(1.0) | ||||
20 | cmath.sqrt(1.0) | ||||
21 | cmath.tan(1.0) | ||||
22 | cmath.tanh(1.0) |