Skip to content

Commit cff7ecd

Browse files
ZERICO2005adriweb
authored andcommitted
Renamed math.h functions 'funcf.*' is float, 'funcl.*' is long double, 'func.*' is float and long double
1 parent 21fa47a commit cff7ecd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+155
-148
lines changed
File renamed without changes.

src/libc/acosh.c renamed to src/libc/acoshf.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,3 @@ float acoshf(float x)
66
}
77

88
double acosh(double) __attribute__((alias("acoshf")));
9-
10-
long double acoshl(long double x)
11-
{
12-
return logl(x + sqrtl(x * x - 1));
13-
}

src/libc/acoshl.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#include <math.h>
2+
3+
long double acoshl(long double x)
4+
{
5+
return logl(x + sqrtl(x * x - 1));
6+
}
File renamed without changes.
File renamed without changes.

src/libc/asinh.c renamed to src/libc/asinhf.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,3 @@ float asinhf(float x)
66
}
77

88
double asinh(double) __attribute__((alias("asinhf")));
9-
10-
long double asinhl(long double x)
11-
{
12-
return logl(x + sqrtl(x * x + 1));
13-
}

src/libc/asinhl.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#include <math.h>
2+
3+
long double asinhl(long double x)
4+
{
5+
return logl(x + sqrtl(x * x + 1));
6+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)