File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lib/node_modules/@stdlib/math/base/special/croundf/src Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1717*/
1818
1919#include "stdlib/math/base/special/croundf.h"
20+ #include "stdlib/math/base/special/roundf.h"
2021#include "stdlib/complex/float32/ctor.h"
2122#include "stdlib/complex/float32/reim.h"
2223#include <math.h>
@@ -48,7 +49,7 @@ stdlib_complex64_t stdlib_base_croundf( const stdlib_complex64_t z ) {
4849
4950 stdlib_complex64_reim ( z , & re , & im );
5051
51- re = roundf ( re ); // TODO: replace with stdlib function once available
52- im = roundf ( im ); // TODO: replace with stdlib function once available
52+ re = stdlib_base_roundf ( re ); // TODO: replace with stdlib function once available
53+ im = stdlib_base_roundf ( im ); // TODO: replace with stdlib function once available
5354 return stdlib_complex64 ( re , im );
5455}
You can’t perform that action at this time.
0 commit comments