From 590281aa7bf9c23a9fd9a1c7e503651ee8629490 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 16 May 2015 17:25:45 +0000 Subject: [PATCH] [CRT] Fix ceilf and floorf. Spotted by Thomas. svn path=/trunk/; revision=67775 --- reactos/lib/sdk/crt/math/ceilf.c | 2 +- reactos/lib/sdk/crt/math/floorf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/sdk/crt/math/ceilf.c b/reactos/lib/sdk/crt/math/ceilf.c index b61d6c71c12..e27333a09ef 100644 --- a/reactos/lib/sdk/crt/math/ceilf.c +++ b/reactos/lib/sdk/crt/math/ceilf.c @@ -7,5 +7,5 @@ __cdecl ceilf( _In_ float x) { - return (float)ceilf((double)x); + return (float)ceil((double)x); } diff --git a/reactos/lib/sdk/crt/math/floorf.c b/reactos/lib/sdk/crt/math/floorf.c index df51974b244..10ad8709b51 100644 --- a/reactos/lib/sdk/crt/math/floorf.c +++ b/reactos/lib/sdk/crt/math/floorf.c @@ -7,5 +7,5 @@ __cdecl floorf( _In_ float x) { - return (float)floorf((double)x); + return (float)floor((double)x); }