Commit 89a66d89 authored by Andrey Zgarbul's avatar Andrey Zgarbul

softposit-math

parent 31efbc49
......@@ -424,9 +424,7 @@ fn ceil(p_a: P8E0) -> P8E0 {
if sign {
ui_a = ui_a.wrapping_neg();
}
let u_a = if ui_a == 0 {
return p_a;
} else if ui_a <= 0x40 {
let u_a = if ui_a <= 0x40 {
// 0 <= |pA| < 1 floor to zero.(if not negative and whole number)
if sign && (ui_a != 0x40) {
0x0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment