-
Notifications
You must be signed in to change notification settings - Fork 0
/
math_32.dl
63 lines (42 loc) · 1.93 KB
/
math_32.dl
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// Returns the arc cosine of x in radians.
.functor acosf(x: float): float
// Returns the arc sine of x in radians.
.functor asinf(x: float): float
// Returns the arc tangent of x in radians.
.functor atanf(x: float): float
// Returns the arc tangent in radians of y/x based on the signs of both values to determine the correct quadrant.
.functor atan2f(y: float, x: float): float
// Returns the cosine of a radian angle x.
.functor cosf(x: float): float
// Returns the hyperbolic cosine of x.
.functor coshf(x: float): float
// Returns the sine of a radian angle x.
.functor sinf(x: float): float
// Returns the hyperbolic sine of x.
.functor sinhf(x: float): float
// Returns the hyperbolic tangent of x.
.functor tanhf(x: float): float
// Returns the value of e raised to the xth power.
.functor expf(x: float): float
// The returned value is the mantissa and the integer pointed to by exponent is the exponent. The resultant value is x = mantissa * 2 ^ exponent.
// double frexp(double x, int *exponent)
// Returns x multiplied by 2 raised to the power of exponent.
.functor ldexpf(x: float, exponent: number): float
// Returns the natural logarithm (base-e logarithm) of x.
.functor logf(x: float): float
// Returns the common logarithm (base-10 logarithm) of x.
.functor log10f(x: float): float
// The returned value is the fraction component (part after the decimal), and sets integer to the integer component.
// double modf(double x, double *integer)
// Returns x raised to the power of y.
.functor powf(x: float, y: float): float
// Returns the square root of x.
.functor sqrtf(x: float): float
// Returns the smallest integer value greater than or equal to x.
.functor ceilf(x: float): float
// Returns the absolute value of x.
.functor fabsf(x: float): float
// Returns the largest integer value less than or equal to x.
.functor floorf(x: float): float
// Returns the remainder of x divided by y.
.functor fmodf(x: float, y: float): float