Skip to content

Commit 01bf5ae

Browse files
author
camilo
committed
small fix
1 parent 987faa9 commit 01bf5ae

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/ffmath.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ float ffmath::rCbrt( float x )
162162
ffmath::getInf() : compute_cbrt( x, true );
163163
}
164164
/*============================================================================*/
165-
float ffmath::roundf( float x )
165+
float ffmath::rounding( float x )
166166
{
167167
x += 12582912.0f;
168168
x -= 12582912.0f;

src/include/ffmath.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ namespace qlibs {
167167
* @return The nearest integer value to @a x, rounding halfway cases away
168168
* from zero
169169
*/
170-
float roundf( float x );
170+
float rounding( float x );
171171

172172
/**
173173
* @brief Computes the largest integer value not greater than @a x.

src/qlibs.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ This file is part of the QuarkTS++ OS distribution.
5757
#include "include/rms.hpp"
5858
#include "include/fp16.hpp"
5959
#include "include/generic.hpp"
60+
#include "include/ffmath.hpp"
61+
6062

6163
using namespace qlibs;
6264

0 commit comments

Comments
 (0)