mirror of
https://github.com/PaddiM8/kalker.git
synced 2024-12-13 01:50:41 +01:00
Fixed compilation error without rug
This commit is contained in:
parent
c652d9d432
commit
42895cb342
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user