term: depreciate rt, and switch to flanterm

This commit is contained in:
RaphProductions 2025-05-08 21:57:31 +02:00
parent 020d4f092f
commit 621f268f5b
23 changed files with 3201 additions and 9941 deletions

18
kernel/src/lib/gcc.c Normal file
View file

@ -0,0 +1,18 @@
#include <stdint.h>
/*int __eqdf2(double a, double b) {
union { double f; uint64_t i; } ua = { a }, ub = { b };
return ua.i == ub.i;
}
int __ltdf2(double a, double b) {
if (a < b) return -1;
if (a > b) return 1;
return 0;
}
double __truncxfdf2(double x) {
return (double)x;
}
int __gtdf2(double a, double b) {
if (a > b) return 1;
if (a < b) return -1;
return 0;
}**/