Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d340bd00
Commit
d340bd00
authored
Apr 18, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add wrappers for the remaining math functions.
parent
473fbcb7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
109 additions
and
12 deletions
+109
-12
misc.c
dlls/ntdll/misc.c
+97
-0
ntdll.spec
dlls/ntdll/ntdll.spec
+12
-12
No files found.
dlls/ntdll/misc.c
View file @
d340bd00
...
@@ -136,3 +136,100 @@ double __cdecl NTDLL__CIpow(double x,double y)
...
@@ -136,3 +136,100 @@ double __cdecl NTDLL__CIpow(double x,double y)
return
pow
(
x
,
y
);
return
pow
(
x
,
y
);
}
}
#endif
/* !defined(__i386__) */
#endif
/* !defined(__i386__) */
/*********************************************************************
* abs (NTDLL.@)
*/
int
NTDLL_abs
(
int
i
)
{
return
abs
(
i
);
}
/*********************************************************************
* labs (NTDLL.@)
*/
long
int
NTDLL_labs
(
long
int
i
)
{
return
labs
(
i
);
}
/*********************************************************************
* atan (NTDLL.@)
*/
double
NTDLL_atan
(
double
d
)
{
return
atan
(
d
);
}
/*********************************************************************
* ceil (NTDLL.@)
*/
double
NTDLL_ceil
(
double
d
)
{
return
ceil
(
d
);
}
/*********************************************************************
* cos (NTDLL.@)
*/
double
NTDLL_cos
(
double
d
)
{
return
cos
(
d
);
}
/*********************************************************************
* fabs (NTDLL.@)
*/
double
NTDLL_fabs
(
double
d
)
{
return
fabs
(
d
);
}
/*********************************************************************
* floor (NTDLL.@)
*/
double
NTDLL_floor
(
double
d
)
{
return
floor
(
d
);
}
/*********************************************************************
* log (NTDLL.@)
*/
double
NTDLL_log
(
double
d
)
{
return
log
(
d
);
}
/*********************************************************************
* pow (NTDLL.@)
*/
double
NTDLL_pow
(
double
x
,
double
y
)
{
return
pow
(
x
,
y
);
}
/*********************************************************************
* sin (NTDLL.@)
*/
double
NTDLL_sin
(
double
d
)
{
return
sin
(
d
);
}
/*********************************************************************
* sqrt (NTDLL.@)
*/
double
NTDLL_sqrt
(
double
d
)
{
return
sqrt
(
d
);
}
/*********************************************************************
* tan (NTDLL.@)
*/
double
NTDLL_tan
(
double
d
)
{
return
tan
(
d
);
}
dlls/ntdll/ntdll.spec
View file @
d340bd00
...
@@ -1277,15 +1277,15 @@
...
@@ -1277,15 +1277,15 @@
@ cdecl -private _wtoi(wstr)
@ cdecl -private _wtoi(wstr)
@ cdecl -private _wtoi64(wstr)
@ cdecl -private _wtoi64(wstr)
@ cdecl -private _wtol(wstr)
@ cdecl -private _wtol(wstr)
@ cdecl -private abs(long)
@ cdecl -private abs(long)
NTDLL_abs
@ cdecl -private atan(double)
@ cdecl -private atan(double)
NTDLL_atan
@ cdecl -private atoi(str) NTDLL_atoi
@ cdecl -private atoi(str) NTDLL_atoi
@ cdecl -private atol(str) NTDLL_atol
@ cdecl -private atol(str) NTDLL_atol
@ cdecl -private bsearch(ptr ptr long long ptr) NTDLL_bsearch
@ cdecl -private bsearch(ptr ptr long long ptr) NTDLL_bsearch
@ cdecl -private ceil(double)
@ cdecl -private ceil(double)
NTDLL_ceil
@ cdecl -private cos(double)
@ cdecl -private cos(double)
NTDLL_cos
@ cdecl -private fabs(double)
@ cdecl -private fabs(double)
NTDLL_fabs
@ cdecl -private floor(double)
@ cdecl -private floor(double)
NTDLL_floor
@ cdecl -private isalnum(long) NTDLL_isalnum
@ cdecl -private isalnum(long) NTDLL_isalnum
@ cdecl -private isalpha(long) NTDLL_isalpha
@ cdecl -private isalpha(long) NTDLL_isalpha
@ cdecl -private iscntrl(long) NTDLL_iscntrl
@ cdecl -private iscntrl(long) NTDLL_iscntrl
...
@@ -1303,19 +1303,19 @@
...
@@ -1303,19 +1303,19 @@
@ cdecl -private iswspace(long) NTDLL_iswspace
@ cdecl -private iswspace(long) NTDLL_iswspace
@ cdecl -private iswxdigit(long) NTDLL_iswxdigit
@ cdecl -private iswxdigit(long) NTDLL_iswxdigit
@ cdecl -private isxdigit(long) NTDLL_isxdigit
@ cdecl -private isxdigit(long) NTDLL_isxdigit
@ cdecl -private labs(long)
@ cdecl -private labs(long)
NTDLL_labs
@ cdecl -private log(double)
@ cdecl -private log(double)
NTDLL_log
@ cdecl -private mbstowcs(ptr str long) NTDLL_mbstowcs
@ cdecl -private mbstowcs(ptr str long) NTDLL_mbstowcs
@ cdecl -private memchr(ptr long long) NTDLL_memchr
@ cdecl -private memchr(ptr long long) NTDLL_memchr
@ cdecl -private memcmp(ptr ptr long) NTDLL_memcmp
@ cdecl -private memcmp(ptr ptr long) NTDLL_memcmp
@ cdecl -private memcpy(ptr ptr long) NTDLL_memcpy
@ cdecl -private memcpy(ptr ptr long) NTDLL_memcpy
@ cdecl -private memmove(ptr ptr long) NTDLL_memmove
@ cdecl -private memmove(ptr ptr long) NTDLL_memmove
@ cdecl -private memset(ptr long long) NTDLL_memset
@ cdecl -private memset(ptr long long) NTDLL_memset
@ cdecl -private pow(double double)
@ cdecl -private pow(double double)
NTDLL_pow
@ cdecl -private qsort(ptr long long ptr) NTDLL_qsort
@ cdecl -private qsort(ptr long long ptr) NTDLL_qsort
@ cdecl -private sin(double)
@ cdecl -private sin(double)
NTDLL_sin
@ varargs -private sprintf(str str) NTDLL_sprintf
@ varargs -private sprintf(str str) NTDLL_sprintf
@ cdecl -private sqrt(double)
@ cdecl -private sqrt(double)
NTDLL_sqrt
@ varargs -private sscanf(str str) NTDLL_sscanf
@ varargs -private sscanf(str str) NTDLL_sscanf
@ cdecl -private strcat(str str) NTDLL_strcat
@ cdecl -private strcat(str str) NTDLL_strcat
@ cdecl -private strchr(str long) NTDLL_strchr
@ cdecl -private strchr(str long) NTDLL_strchr
...
@@ -1333,7 +1333,7 @@
...
@@ -1333,7 +1333,7 @@
@ cdecl -private strtol(str ptr long) NTDLL_strtol
@ cdecl -private strtol(str ptr long) NTDLL_strtol
@ cdecl -private strtoul(str ptr long) NTDLL_strtoul
@ cdecl -private strtoul(str ptr long) NTDLL_strtoul
@ varargs -private swprintf(wstr wstr) NTDLL_swprintf
@ varargs -private swprintf(wstr wstr) NTDLL_swprintf
@ cdecl -private tan(double)
@ cdecl -private tan(double)
NTDLL_tan
@ cdecl -private tolower(long) NTDLL_tolower
@ cdecl -private tolower(long) NTDLL_tolower
@ cdecl -private toupper(long) NTDLL_toupper
@ cdecl -private toupper(long) NTDLL_toupper
@ cdecl -private towlower(long) NTDLL_towlower
@ cdecl -private towlower(long) NTDLL_towlower
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment