Skip to content

Commit 5c6912f

Browse files
committed
[CRT][UCRTBASE] Add round/roundf
1 parent d736b55 commit 5c6912f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dll/win32/ucrtbase/ucrtbase.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2547,8 +2547,8 @@
25472547
@ cdecl -stub rint(double)
25482548
@ cdecl -stub rintf(float)
25492549
@ cdecl rintl(double) rint
2550-
@ cdecl -stub round(double)
2551-
@ cdecl -stub roundf(float)
2550+
@ cdecl round(double)
2551+
@ cdecl roundf(float)
25522552
@ cdecl roundl(double) round
25532553
@ cdecl scalbln(double long) scalbn # double scalbln(double x, long exp);
25542554
@ cdecl scalblnf(float long) scalbnf # float scalblnf(float x, long exp);

sdk/lib/crt/math/math.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ list(APPEND LIBCNTPR_MATH_SOURCE
88
math/div.c
99
math/exp2f.c
1010
math/labs.c
11+
math/round.c
12+
math/roundf.c
1113
math/sincos.c
1214
)
1315

0 commit comments

Comments
 (0)