Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
camilo committed Dec 29, 2023
1 parent 987faa9 commit 01bf5ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ffmath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ float ffmath::rCbrt( float x )
ffmath::getInf() : compute_cbrt( x, true );
}
/*============================================================================*/
float ffmath::roundf( float x )
float ffmath::rounding( float x )
{
x += 12582912.0f;
x -= 12582912.0f;
Expand Down
2 changes: 1 addition & 1 deletion src/include/ffmath.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ namespace qlibs {
* @return The nearest integer value to @a x, rounding halfway cases away
* from zero
*/
float roundf( float x );
float rounding( float x );

/**
* @brief Computes the largest integer value not greater than @a x.
Expand Down
2 changes: 2 additions & 0 deletions src/qlibs.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ This file is part of the QuarkTS++ OS distribution.
#include "include/rms.hpp"
#include "include/fp16.hpp"
#include "include/generic.hpp"
#include "include/ffmath.hpp"


using namespace qlibs;

Expand Down

0 comments on commit 01bf5ae

Please sign in to comment.