mirror of
https://github.com/zeldaret/oot.git
synced 2025-04-06 22:56:45 +00:00
33 lines
477 B
C
33 lines
477 B
C
// IDO Compiler Intrinsics for 64-bit conversion
|
|
|
|
long long __d_to_ll(double d) {
|
|
return d;
|
|
}
|
|
|
|
long long __f_to_ll(float f) {
|
|
return f;
|
|
}
|
|
|
|
unsigned long long __d_to_ull(double d) {
|
|
return d;
|
|
}
|
|
|
|
unsigned long long __f_to_ull(float f) {
|
|
return f;
|
|
}
|
|
|
|
double __ll_to_d(long long l) {
|
|
return l;
|
|
}
|
|
|
|
float __ll_to_f(long long l) {
|
|
return l;
|
|
}
|
|
|
|
double __ull_to_d(unsigned long long l) {
|
|
return l;
|
|
}
|
|
|
|
float __ull_to_f(unsigned long long l) {
|
|
return l;
|
|
}
|