mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
This allows us to have a constexpr lgamma_r function and also to test it with CompareAKMathAgainstMPFR.
26 lines
618 B
C
26 lines
618 B
C
/*
|
|
* Copyright (c) 2021, Leon Albrecht <[email protected]>.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Math/Cbrt.h>
|
|
#include <AK/Math/Constants.h>
|
|
#include <AK/Math/Copysign.h>
|
|
#include <AK/Math/Division.h>
|
|
#include <AK/Math/Exponentials.h>
|
|
#include <AK/Math/Fabs.h>
|
|
#include <AK/Math/Gamma.h>
|
|
#include <AK/Math/Hyperbolic.h>
|
|
#include <AK/Math/Radians.h>
|
|
#include <AK/Math/Rounding.h>
|
|
#include <AK/Math/Sqrt.h>
|
|
#include <AK/Math/Trigonometry.h>
|
|
#include <math.h>
|
|
|
|
#ifdef KERNEL
|
|
# error "Including AK/Math.h from the Kernel is never correct! Floating point is disabled."
|
|
#endif
|