Skip to content

Commit

Permalink
stdc-math: added support for C++
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepy-monax committed Dec 12, 2022
1 parent a3576cc commit af5bf64
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sources/libs/stdc-math/math.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#pragma once

#include <float.h>
#include <stdc-base/prelude.h>

STDC_BEGIN_HEADER

#ifndef NAN
# define NAN (0.0 / 0.0)
Expand Down Expand Up @@ -362,3 +365,5 @@ long double fminl(long double x, long double y);
double fma(double, double, double);
float fmaf(float, float, float);
long double fmal(long double, long double, long double);

STDC_END_HEADER

0 comments on commit af5bf64

Please sign in to comment.