Merge pull request #159 from Cuyler36/link_math64.c

Link libc64/math64.c
This commit is contained in:
Cuyler36
2023-11-25 12:59:32 -05:00
committed by GitHub
2 changed files with 8 additions and 6 deletions
+3 -3
View File
@@ -72,9 +72,9 @@ libu64/pad.c:
.text: [0x8005b9a8, 0x8005ba2c]
libc64/aprintf.c:
.text: [0x8005cbdc, 0x8005cc14]
#libc64/math64.c: //not match
# .text: [0x8005cc14, 0x8005cccc]
# .sdata2: [0x80219118, 0x80219130]
libc64/math64.c:
.text: [0x8005cc14, 0x8005cccc]
.sdata2: [0x80219118, 0x80219130]
libc64/qrand.c:
.text: [0x8005cccc, 0x8005cd64]
.sdata: [0x80217de8, 0x80217df0]
+5 -3
View File
@@ -1,12 +1,14 @@
#include "libc/math.h"
#include "MSL_C/w_math.h"
f32 fatan2(f32 x, f32 y){
f32 fatan2(f32 x, f32 y) {
return atan2(x, y);
}
f64 fsqrt(f32 x){
f64 fsqrt(f32 x) {
return sqrtf(x);
}
f32 facos(f32 x){
f32 facos(f32 x) {
return acos(x);
}