msvcrt: Import floorf implementation from musl.
[wine.git] / dlls / msvcrt / unixlib.h
blob47af0e464cd29a260194abb16b19a07773d502b8
1 /*
2 * MSVCRT Unix interface
4 * Copyright 2020 Alexandre Julliard
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __UNIXLIB_H
22 #define __UNIXLIB_H
24 struct unix_funcs
26 double (CDECL *acosh)(double x);
27 float (CDECL *acoshf)(float x);
28 double (CDECL *asinh)(double x);
29 float (CDECL *asinhf)(float x);
30 double (CDECL *atanh)(double x);
31 float (CDECL *atanhf)(float x);
32 double (CDECL *cos)(double x);
33 float (CDECL *cosf)(float x);
34 double (CDECL *cosh)(double x);
35 float (CDECL *coshf)(float x);
36 double (CDECL *erf)(double x);
37 double (CDECL *erfc)(double x);
38 float (CDECL *erfcf)(float x);
39 float (CDECL *erff)(float x);
40 double (CDECL *exp)(double x);
41 float (CDECL *expf)(float x);
42 double (CDECL *exp2)(double x);
43 float (CDECL *exp2f)(float x);
44 double (CDECL *expm1)(double x);
45 float (CDECL *expm1f)(float x);
46 double (CDECL *floor)(double x);
47 double (CDECL *fma)(double x, double y, double z);
48 float (CDECL *fmaf)(float x, float y, float z);
49 double (CDECL *fmod)(double x, double y);
50 float (CDECL *fmodf)(float x, float y);
51 double (CDECL *frexp)(double x, int *exp);
52 float (CDECL *frexpf)(float x, int *exp);
53 double (CDECL *hypot)(double x, double y);
54 float (CDECL *hypotf)(float x, float y);
55 double (CDECL *ldexp)(double x, int exp);
56 double (CDECL *lgamma)(double x);
57 float (CDECL *lgammaf)(float x);
58 double (CDECL *log)(double x);
59 float (CDECL *logf)(float x);
60 double (CDECL *log10)(double x);
61 float (CDECL *log10f)(float x);
62 double (CDECL *log1p)(double x);
63 float (CDECL *log1pf)(float x);
64 double (CDECL *log2)(double x);
65 float (CDECL *log2f)(float x);
66 double (CDECL *logb)(double x);
67 float (CDECL *logbf)(float x);
68 double (CDECL *modf)(double x, double *iptr);
69 float (CDECL *modff)(float x, float *iptr);
70 double (CDECL *pow)(double x, double y);
71 float (CDECL *powf)(float x, float y);
72 double (CDECL *remainder)(double x, double y);
73 float (CDECL *remainderf)(float x, float y);
74 double (CDECL *remquo)(double x, double y, int *quo);
75 float (CDECL *remquof)(float x, float y, int *quo);
76 double (CDECL *sin)(double x);
77 float (CDECL *sinf)(float x);
78 double (CDECL *sinh)(double x);
79 float (CDECL *sinhf)(float x);
80 double (CDECL *tan)(double x);
81 float (CDECL *tanf)(float x);
82 double (CDECL *tanh)(double x);
83 float (CDECL *tanhf)(float x);
84 double (CDECL *tgamma)(double x);
85 float (CDECL *tgammaf)(float x);
86 double (CDECL *trunc)(double x);
87 float (CDECL *truncf)(float x);
90 #endif /* __UNIXLIB_H */