Attempt to decompile rmonIsDouble

This commit is contained in:
Ryan Dwyer 2021-03-14 00:37:05 +10:00
parent 4422f463b1
commit e26c4ceb97
1 changed files with 9 additions and 0 deletions

View File

@ -597,6 +597,15 @@ glabel rmonIsDouble
/* c3d8: 00000000 */ nop
);
//bool rmonIsDouble(f32 value)
//{
// u32 bits = *(u32 *)&value;
//
// return (bits & 0x7fffff) != 0
// && ((bits >> 23) & 0xff) != 0
// && ((bits >> 23) & 0xff) != 0xff;
//}
void rmonPrintFloatOrDouble(u32 arg0, f32 value)
{
if (rmonIsDouble(value)) {