From 779d8d3cc990dba968b2233f788b00dfffe01eb8 Mon Sep 17 00:00:00 2001 From: GUNJ JOSHI Date: Mon, 15 Jul 2024 08:57:18 +0530 Subject: [PATCH] Update main.c Signed-off-by: GUNJ JOSHI --- lib/node_modules/@stdlib/math/base/special/fmod/src/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/special/fmod/src/main.c b/lib/node_modules/@stdlib/math/base/special/fmod/src/main.c index a6da9749d4e..fa49ff082e3 100644 --- a/lib/node_modules/@stdlib/math/base/special/fmod/src/main.c +++ b/lib/node_modules/@stdlib/math/base/special/fmod/src/main.c @@ -173,9 +173,10 @@ double stdlib_base_fmod( const double x, const double y ) { hx = hx + hx + ( lx >> 31 ); lx += lx; } else { - if ( ( hz | lz ) == 0 ) - // return sign(x)*0 - return ZERO[ (uint32_t)sx >> 31 ]; + if ( ( hz | lz ) == 0 ) { + // return sign(x)*0 + return ZERO[ (uint32_t)sx >> 31 ]; + } hx = hz + hz + ( lz >> 31 ); lx = lz + lz; }