summaryrefslogtreecommitdiff
path: root/arm9/asm/MSL_Common_float.s
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-06-02 08:54:17 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-06-02 08:54:17 -0400
commit4180f497410f2c6a29fab435ff1cfa0e17d81f8a (patch)
tree907d1bb32d013b05988f7b6f6876c493386eeb79 /arm9/asm/MSL_Common_float.s
parente7929cb735b9c1dc783eef3eb6fbfc7e6f666835 (diff)
Split libc.s, 5
Diffstat (limited to 'arm9/asm/MSL_Common_float.s')
-rw-r--r--arm9/asm/MSL_Common_float.s18
1 files changed, 18 insertions, 0 deletions
diff --git a/arm9/asm/MSL_Common_float.s b/arm9/asm/MSL_Common_float.s
new file mode 100644
index 00000000..d412ffb6
--- /dev/null
+++ b/arm9/asm/MSL_Common_float.s
@@ -0,0 +1,18 @@
+ .include "asm/macros.inc"
+ .include "global.inc"
+
+ .data
+ .global __float_huge
+__float_huge: ; 0x02106B74
+ .word 0x7F800000 ; inf
+ .size __float_huge,.-__float_huge
+
+ .global __float_nan
+__float_nan: ; 0x02106B78
+ .word 0x7FFFFFFF ; nan
+ .size __float_nan,.-__float_nan
+
+ .global __double_huge
+__double_huge: ; 0x02106B7C
+ .word 0x00000000, 0x7FF00000 ; inf
+ .size __double_huge,.-__double_huge