Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit cef07af

Browse files
committed
remove unneeded round
1 parent c4a1e83 commit cef07af

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/math/generic/scalbn.rs

+1-7
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,7 @@ where
8080
n += add;
8181

8282
if n < exp_min {
83-
x *= mul;
84-
n += add;
85-
86-
if n < exp_min {
87-
n = exp_min;
88-
}
83+
n = exp_min;
8984
}
9085
}
9186
} else {
@@ -117,7 +112,6 @@ where
117112
n = exp_min;
118113
}
119114
}
120-
// f16
121115
}
122116
}
123117

0 commit comments

Comments
 (0)