diff options
Diffstat (limited to 'runtime/c/i64_dtou.c')
-rw-r--r-- | runtime/c/i64_dtou.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/c/i64_dtou.c b/runtime/c/i64_dtou.c index c5f9df4d..5f4901b2 100644 --- a/runtime/c/i64_dtou.c +++ b/runtime/c/i64_dtou.c @@ -38,7 +38,7 @@ /* Conversion float64 -> unsigned int64 */ -unsigned long long __i64_dtou(double d) +unsigned long long i64_dtou(double d) { /* Extract bits of d's representation */ union { double d; unsigned long long i; } buf; @@ -62,8 +62,8 @@ unsigned long long __i64_dtou(double d) (buf.i & ~0xFFF0000000000000LL) | 0x0010000000000000LL; /* Shift it appropriately */ if (e >= 0) - return __i64_shl(m, e); + return i64_shl(m, e); else - return __i64_shr(m, -e); + return i64_shr(m, -e); } |