msvcrt: Import lround implementation from musl.
[wine.git] / dlls / msvcrt / unixlib.h
blob89972ed669fc5cfa05b4615ac2ee718cba30374d
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 double (CDECL *log)(double x);
66 float (CDECL *logf)(float x);
67 double (CDECL *log10)(double x);
68 float (CDECL *log10f)(float x);
69 double (CDECL *log1p)(double x);
70 float (CDECL *log1pf)(float x);
71 double (CDECL *log2)(double x);
72 float (CDECL *log2f)(float x);
73 double (CDECL *logb)(double x);
74 float (CDECL *logbf)(float x);
75 int (CDECL *lrint)(double x);
76 int (CDECL *lrintf)(float x);
77 double (CDECL *modf)(double x, double *iptr);
78 float (CDECL *modff)(float x, float *iptr);
79 double (CDECL *nearbyint)(double num);
80 float (CDECL *nearbyintf)(float num);
81 double (CDECL *nextafter)(double x, double y);
82 float (CDECL *nextafterf)(float x, float y);
83 double (CDECL *nexttoward)(double x, double y);
84 float (CDECL *nexttowardf)(float x, double y);
85 double (CDECL *pow)(double x, double y);
86 float (CDECL *powf)(float x, float y);
87 double (CDECL *remainder)(double x, double y);
88 float (CDECL *remainderf)(float x, float y);
89 double (CDECL *remquo)(double x, double y, int *quo);
90 float (CDECL *remquof)(float x, float y, int *quo);
91 double (CDECL *rint)(double x);
92 float (CDECL *rintf)(float x);
93 double (CDECL *round)(double x);
94 double (CDECL *sin)(double x);
95 float (CDECL *sinf)(float x);
96 double (CDECL *sinh)(double x);
97 float (CDECL *sinhf)(float x);
98 double (CDECL *tan)(double x);
99 float (CDECL *tanf)(float x);
100 double (CDECL *tanh)(double x);
101 float (CDECL *tanhf)(float x);
102 double (CDECL *tgamma)(double x);
103 float (CDECL *tgammaf)(float x);
104 double (CDECL *trunc)(double x);
105 float (CDECL *truncf)(float x);
108 #endif /* __UNIXLIB_H */