msvcrt: Import log2 implementation from musl.
[wine.git] / dlls / msvcrt / unixlib.h
blobfc2ceb7798da3b8c9857efbabc5323ed426f5bb1
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 *exp)(double x);
27 float (CDECL *expf)(float x);
28 double (CDECL *exp2)(double x);
29 float (CDECL *exp2f)(float x);
30 float (CDECL *fmaf)(float x, float y, float z);
31 double (CDECL *lgamma)(double x);
32 float (CDECL *lgammaf)(float x);
33 double (CDECL *pow)(double x, double y);
34 float (CDECL *powf)(float x, float y);
35 double (CDECL *tgamma)(double x);
36 float (CDECL *tgammaf)(float x);
39 #endif /* __UNIXLIB_H */