1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 06:15:06 +00:00

More compat work. Rename libraries from LibFoo.a => libfoo.a

This makes it more straightforward to build a cross-compiler toolchain.
Also move math stuff from LibC to LibM.
This commit is contained in:
Andreas Kling 2019-02-26 13:30:57 +01:00
parent cccc8d8aeb
commit 3f29a12d90
23 changed files with 140 additions and 79 deletions

23
LibM/math.cpp Normal file
View file

@ -0,0 +1,23 @@
#include <LibC/assert.h>
#include <LibM/math.h>
extern "C" {
double cos(double)
{
assert(false);
}
double sin(double)
{
assert(false);
}
double pow(double x, double y)
{
(void)x;
(void)y;
assert(false);
}
}