blob: 2e4c321052625ee0d0df89ceb79f617aba2fef7c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
# Tests various constants of the math module.
try:
import math
from math import exp, cos
except ImportError:
print("SKIP")
raise SystemExit
print(math.e == exp(1.0))
print(cos(math.pi))
|