1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:27:45 +00:00

AK: Make sure we don't include Math.h or math.h from KERNEL

This commit is contained in:
Andrew Kaster 2022-04-09 14:31:54 -06:00 committed by Brian Gianforcaro
parent bc7c8879c5
commit 83603d68d2
4 changed files with 19 additions and 6 deletions

View file

@ -11,6 +11,10 @@
#include <AK/StdLibExtraDetails.h>
#include <AK/Types.h>
#ifdef KERNEL
# error "Including AK/Math.h from the Kernel is never correct! Floating point is disabled."
#endif
namespace AK {
template<FloatingPoint T>