mirror of
https://github.com/PaddiM8/kalker.git
synced 2024-12-13 18:10:42 +01:00
Fixed compilation error without rug
This commit is contained in:
parent
c652d9d432
commit
42895cb342
@ -107,7 +107,7 @@ impl KalkNum {
|
|||||||
|
|
||||||
ScientificNotation {
|
ScientificNotation {
|
||||||
negative: value < 0f64,
|
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...
|
// I... am not sure what else to do...
|
||||||
exponent,
|
exponent,
|
||||||
imaginary: complex_number_type == ComplexNumberType::Imaginary,
|
imaginary: complex_number_type == ComplexNumberType::Imaginary,
|
||||||
|
Loading…
Reference in New Issue
Block a user