From 12ac782e299fc52c4769918f52fc306d93fb45c4 Mon Sep 17 00:00:00 2001 From: raphaelDkhn Date: Sun, 22 Oct 2023 12:30:36 +0300 Subject: [PATCH] Update core.cairo --- .../fixed_point/implementations/fp16x16wide/math/core.cairo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/numbers/fixed_point/implementations/fp16x16wide/math/core.cairo b/src/numbers/fixed_point/implementations/fp16x16wide/math/core.cairo index a3ed48b4c..6b6a74e07 100644 --- a/src/numbers/fixed_point/implementations/fp16x16wide/math/core.cairo +++ b/src/numbers/fixed_point/implementations/fp16x16wide/math/core.cairo @@ -61,7 +61,7 @@ fn eq(a: @FP16x16W, b: @FP16x16W) -> bool { // Calculates the natural exponent of x: e^x fn exp(a: FP16x16W) -> FP16x16W { - a.print(); + (FixedTrait::new(94548, false) * a).print(); return exp2(FixedTrait::new(94548, false) * a); // log2(e) * 2^23 ≈ 12102203 }