msvcrt: Import roundf implementation from musl.
[wine.git] / dlls / msvcrt / unixlib.h
blob2841a28f4788f0e45a329a50c4a66c437554b6ac
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 *cbrt)(double x);
33 float (CDECL *cbrtf)(float x);
34 double (CDECL *ceil)(double x);
35 float (CDECL *ceilf)(float x);
36 double (CDECL *cos)(double x);
37 float (CDECL *cosf)(float x);
38 double (CDECL *cosh)(double x);
39 float (CDECL *coshf)(float x);
40 double (CDECL *erf)(double x);
41 double (CDECL *erfc)(double x);
42 float (CDECL *erfcf)(float x);
43 float (CDECL *erff)(float x);
44 double (CDECL *exp)(double x);
45 float (CDECL *expf)(float x);
46 double (CDECL *exp2)(double x);
47 float (CDECL *exp2f)(float x);
48 double (CDECL *expm1)(double x);
49 float (CDECL *expm1f)(float x);
50 double (CDECL *floor)(double x);
51 float (CDECL *floorf)(float x);
52 double (CDECL *fma)(double x, double y, double z);
53 float (CDECL *fmaf)(float x, float y, float z);
54 double (CDECL *fmod)(double x, double y);
55 float (CDECL *fmodf)(float x, float y);
56 double (CDECL *frexp)(double x, int *exp);
57 float (CDECL *frexpf)(float x, int *exp);
58 double (CDECL *hypot)(double x, double y);
59 float (CDECL *hypotf)(float x, float y);
60 double (CDECL *ldexp)(double x, int exp);
61 double (CDECL *lgamma)(double x);
62 float (CDECL *lgammaf)(float x);
63 __int64 (CDECL *llrint)(double x);
64 __int64 (CDECL *llrintf)(float x);
65 __int64 (CDECL *llround)(double x);
66 __int64 (CDECL *llroundf)(float x);
67 double (CDECL *log)(double x);
68 float (CDECL *logf)(float x);
69 double (CDECL *log10)(double x);
70 float (CDECL *log10f)(float x);
71 double (CDECL *log1p)(double x);
72 float (CDECL *log1pf)(float x);
73 double (CDECL *log2)(double x);
74 float (CDECL *log2f)(float x);
75 double (CDECL *logb)(double x);
76 float (CDECL *logbf)(float x);
77 int (CDECL *lrint)(double x);
78 int (CDECL *lrintf)(float x);
79 int (CDECL *lround)(double x);
80 int (CDECL *lroundf)(float x);
81 double (CDECL *modf)(double x, double *iptr);
82 float (CDECL *modff)(float x, float *iptr);
83 double (CDECL *nearbyint)(double num);
84 float (CDECL *nearbyintf)(float num);
85 double (CDECL *nextafter)(double x, double y);
86 float (CDECL *nextafterf)(float x, float y);
87 double (CDECL *nexttoward)(double x, double y);
88 float (CDECL *nexttowardf)(float x, double y);
89 double (CDECL *pow)(double x, double y);
90 float (CDECL *powf)(float x, float y);
91 double (CDECL *remainder)(double x, double y);
92 float (CDECL *remainderf)(float x, float y);
93 double (CDECL *remquo)(double x, double y, int *quo);
94 float (CDECL *remquof)(float x, float y, int *quo);
95 double (CDECL *rint)(double x);
96 float (CDECL *rintf)(float x);
97 double (CDECL *round)(double x);
98 double (CDECL *sin)(double x);
99 float (CDECL *sinf)(float x);
100 double (CDECL *sinh)(double x);
101 float (CDECL *sinhf)(float x);
102 double (CDECL *tan)(double x);
103 float (CDECL *tanf)(float x);
104 double (CDECL *tanh)(double x);
105 float (CDECL *tanhf)(float x);
106 double (CDECL *tgamma)(double x);
107 float (CDECL *tgammaf)(float x);
108 double (CDECL *trunc)(double x);
109 float (CDECL *truncf)(float x);
112 #endif /* __UNIXLIB_H */