mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:27:35 +00:00
AK: Add complex number library
Useful for diverse algorithms. Also added some tests for it.
This commit is contained in:
parent
0d5e1e9df1
commit
f4f5a1c0e7
4 changed files with 412 additions and 0 deletions
|
@ -38,12 +38,16 @@ concept Integral = IsIntegral<T>::value;
|
|||
template<typename T>
|
||||
concept FloatingPoint = IsFloatingPoint<T>::value;
|
||||
|
||||
template<typename T>
|
||||
concept Arithmetic = IsArithmetic<T>::value;
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#if defined(__cpp_concepts) && !defined(__COVERITY__)
|
||||
|
||||
using AK::IsArithmetic;
|
||||
using AK::IsFloatingPoint;
|
||||
using AK::IsIntegral;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue