diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2023-01-02 16:57:12 +0100 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-01-02 20:27:20 -0500 |
commit | 345662d617f54b432680698816ca914dd4b7efef (patch) | |
tree | cb3e668df48dd9fd05891efea738f9a7c000def2 /Tests/LibC | |
parent | 8a331d4fa061fd7c73c32c551ddf8d80774b349d (diff) | |
download | serenity-345662d617f54b432680698816ca914dd4b7efef.zip |
Userland: Remove unused includes of AK/Math.h
These instances were detected by searching for files that include
Kernel/Debug.h, but don't match the regex:
\\b(acos|acosh|asin|asinh|atan|atan2|atanh|cbrt|ceil|cos|cosh|E|exp|exp2
|fabs|fmod|hypot|log|log10|log2|NaN|Pi|pow|product_even|product_odd|rema
inder|round_to|rsqrt|sin|sincos|sinh|sqrt|Sqrt1_2|Sqrt2|tan|tanh)\\b
(Without the linebreaks.)
This regex is pessimistic, so there might be more files that don't
actually use any math functions.
In theory, one might use LibCPP to detect things like this
automatically, but let's do this one step after another.
Diffstat (limited to 'Tests/LibC')
0 files changed, 0 insertions, 0 deletions