/usr/share/shedskin/lib/math.py is in shedskin 0.9.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | # Copyright 2005-2011 Mark Dufour and contributors; License Expat (See LICENSE)
e = 2.7182818284590451
pi = 3.1415926535897931
def sqrt(x): return 1.0
def sin(x): return 1.0
def fabs(x): return 1.0
def factorial(x): return 1
def floor(x): return 1.0
def ceil(x): return 1.0
def exp(x): return 1.0
def log10(x): return 1.0
def acos(x): return 1.0
def asin(x): return 1.0
def atan(x): return 1.0
def cos(x): return 1.0
def tan(x): return 1.0
def degrees(x): return 1.0
def radians(x): return 1.0
def cosh(x): return 1.0
def sinh(x): return 1.0
def tanh(x): return 1.0
def fmod(x, y): return 1.0
def ldexp(x, y): return 1.0
def pow(x, y): return 1.0
def atan2(x, y): return 1.0
def hypot(x, y): return 1.0
def log(x, base=1): return 1.0
def modf(x): return (1.0, 1.0)
|