assertion error when trying floor(3)
This commit is contained in:
parent
1dbf859ee9
commit
70814d62a1
Binary file not shown.
Binary file not shown.
@ -51,7 +51,7 @@ void Number::simplify_inplace()
|
||||
auto Number::floor() const -> Number
|
||||
{
|
||||
auto copy = simplify();
|
||||
copy = copy - (copy % 1);
|
||||
copy = copy - (copy % Number(1));
|
||||
return copy;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user