Andreas Kling
570c6c8458
LibM: Make roundf() and ceilf() slightly less terrible
...
These implementations still don't handle all of the corner cases that
are possible, but at least they are somewhat usable now.
2019-10-20 17:20:20 +02:00
Andreas Kling
9eaaaeec6e
LibM: Add dummy implementations of roundf() and ceilf()
...
I though I could just use __builtin_roundf() and __builtin_ceilf() but
it seems like I can't, as they just become calls to roundf and ceilf.
2019-10-20 12:55:55 +02:00
Andreas Kling
c13be2c7ea
LibM: Implement various functions.
...
Path from Anonymous.
2019-10-17 09:32:24 +02:00
Andreas Kling
dd696e7c75
LibM: Fix Toolchain build
...
We can't rely on libstdc++ inside LibC or LibM, since these libraries
are part of the Toolchain bringup build.
2019-09-29 22:07:02 +02:00
Andreas Kling
941981ec4f
LibM: Implement various trig functions
...
Patch from Anonymous.
2019-09-29 21:04:08 +02:00
Sergey Bugaev
cfe8fdd5aa
LibM: Implement sqrt()
...
Use the x87 fsqrt instruction for that.
We cannot use __builtin_sqrt(), since GCC expands it into
a sqrt() call, so we just loop endlessly.
2019-08-10 08:46:22 +02:00
Andreas Kling
0ef13e60b0
Libraries: Fix wrong paths to "Root" in the various install.sh scripts.
...
We were installing libraries into /Libraries/Root, rather than in /Root.
This made the ports system behave rather unpredictable, since I had old
versions of things in /Root and new versions of things in /Libraries/Root.
2019-07-21 21:38:30 +02:00
Andreas Kling
c7ea94697e
Libraries: Remove unused "install" targets.
...
We've been using a per-directory "install.sh" for some time, so let's get
rid of the old way of doing things.
2019-07-21 21:28:48 +02:00
Andreas Kling
8b0953a795
Libraries: Unbreak "make install" with new directory locations.
2019-07-04 16:41:42 +02:00
Andreas Kling
04b9dc2d30
Libraries: Create top level directory for libraries.
...
Things were getting a little crowded in the project root, so this patch
moves the Lib*/ directories into Libraries/.
2019-07-04 16:16:50 +02:00