Fixed compilation error without rug

This commit is contained in:
PaddiM8 2021-12-31 23:53:39 +01:00
parent c652d9d432
commit 42895cb342

View File

@ -107,7 +107,7 @@ impl KalkNum {
ScientificNotation {
negative: value < 0f64,
value: value / (10f64.pow(exponent - 1) as f64),
value: value / (10f64.powf(exponent as f64 - 1f64) as f64),
// I... am not sure what else to do...
exponent,
imaginary: complex_number_type == ComplexNumberType::Imaginary,