From d9c00c1827a459fdff028e8fcc93cab10e6f6977 Mon Sep 17 00:00:00 2001 From: Ryan Myers Date: Thu, 21 Oct 2021 10:38:55 -0400 Subject: [PATCH] Stole NaN code from SM64 that seems like a better match --- lib/src/os/piacs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/src/os/piacs.c b/lib/src/os/piacs.c index b28bcef3..34b49c3a 100644 --- a/lib/src/os/piacs.c +++ b/lib/src/os/piacs.c @@ -98,6 +98,4 @@ const char _Genld_0_string[] = "0"; const double _Ldtob_1e8[] = {1.0e8}; //sinf and cosf - supposed to be defined by libm_vals.s -const int __libm_qnan_f[] = { - 0x7F810000, 0x00000000 -}; +const fu __libm_qnan_f = { 0x7f810000 };