dk64/include/libc/math.h
2023-07-25 12:41:38 +09:30

17 lines
287 B
C

#ifndef MATH_H
#define MATH_H
#define M_PI 3.14159265358979323846
#define M_PIF 3.14159265358979323846f
#define FLT_MAX (3.40282346639e+38f)
#define FLT_MIN (3.40282346639e+38f)
float sinf(float);
double sin(double);
float cosf(float);
double cos(double);
float sqrtf(float);
#endif