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

LibCore: Include math.h instead of defining isnan() in ArgsParser.cpp

This commit is contained in:
Nico Weber 2021-08-14 18:33:26 -04:00 committed by Andreas Kling
parent 87b2a6004f
commit a45b6dbc07

View file

@ -9,11 +9,10 @@
#include <LibCore/ArgsParser.h>
#include <getopt.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
static constexpr bool isnan(double __x) { return __builtin_isnan(__x); }
static Optional<double> convert_to_double(const char* s)
{
char* p;