mirror of
https://github.com/zeldaret/oot-vc.git
synced 2026-09-29 23:14:46 -04:00
6fee0769e9
* vcmv_cursor OK * format and apply * vcmv 18% * vcmv 33% * code_800838C0 98%, match other sections (vcmv 41%) * vcmv 48% * run dol-apply * format * vcmv_main 22% (vcmv 54%) * vcmv_main 49% (vcmv 62%) * vcmv_main OK (vcmv 76%) * dol-apply and format * code_800838C0 OK (vcmv 90%) * code_800889E8 OK * code_80089308 .text OK, started matching .rodata * vcmv OK for oot-j * format * fix build and revert unwanted configure change * remove existing vcmv splits * match all versions except sm64-j and sm64-u * dol-apply * dol-apply sm64-e * sm64-e fixes * match sm64-j and sm64-u * run dol-apply * run format * self-review
64 lines
1.5 KiB
C
64 lines
1.5 KiB
C
#ifndef _FDLIBM_H
|
|
#define _FDLIBM_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "errno.h"
|
|
#include "limits.h"
|
|
|
|
/**
|
|
* For including FDLIBM declarations without also including its many macros.
|
|
*/
|
|
|
|
double __ieee754_acos(double);
|
|
double __ieee754_fmod(double, double);
|
|
double __ieee754_log(double);
|
|
double __ieee754_log10(double);
|
|
double __ieee754_pow(double, double);
|
|
double __ieee754_sqrt(double);
|
|
double __ieee754_atan2(double, double);
|
|
double __ieee754_asin(double);
|
|
double __ieee754_exp(double);
|
|
int __ieee754_rem_pio2(double, double*);
|
|
|
|
double __kernel_sin(double, double, int);
|
|
double __kernel_cos(double, double);
|
|
double __kernel_tan(double, double, int);
|
|
|
|
double nan(const char* arg);
|
|
double atan(double x);
|
|
double ceil(double x);
|
|
double copysign(double x, double y);
|
|
double cos(double x);
|
|
double floor(double x);
|
|
double frexp(double x, int* eptr);
|
|
double ldexp(double value, int exp);
|
|
double modf(double x, double* iptr);
|
|
double sin(double x);
|
|
double tan(double x);
|
|
double acos(double x);
|
|
double asin(double x);
|
|
double atan2(double y, double x);
|
|
double fmod(double x, double y);
|
|
double pow(double x, double y);
|
|
double sqrt(double x);
|
|
double log(double x);
|
|
float log10f(float x);
|
|
double exp(double x);
|
|
|
|
// In reality, these are "weak" functions which all have C++ names (except scalbn).
|
|
// We fake it by defining them as strong C functions instead.
|
|
float sin__Ff(float x);
|
|
float cos__Ff(float x);
|
|
double scalbn(double x, int n);
|
|
double fabs__Fd(double x);
|
|
float fabsf__Ff(float x);
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif
|