sqrtf.c OK (#257)

* sqrtf OK

* spec

* format

* Move to libultra
This commit is contained in:
EllipticEllipsis 2021-08-12 23:57:21 +01:00 committed by GitHub
parent 1a963884f3
commit 5dc98392e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
#include "global.h"
#pragma GLOBAL_ASM("asm/non_matchings/boot/sqrtf/sqrtf.s")
#ifndef __GNUC__
#define __builtin_sqrtf sqrtf
#endif
f32 sqrtf(f32 f) {
return __builtin_sqrtf(f);
}