From de553e6bc949b084e7dd155b5b4e43956e4b2f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Mon, 1 Apr 2019 15:13:29 -0400 Subject: [PATCH 1/2] Update src/CalcManager/Ratpack/rat.cpp Co-Authored-By: ariccio --- src/CalcManager/Ratpack/rat.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/CalcManager/Ratpack/rat.cpp b/src/CalcManager/Ratpack/rat.cpp index 53630871..92c9af7e 100644 --- a/src/CalcManager/Ratpack/rat.cpp +++ b/src/CalcManager/Ratpack/rat.cpp @@ -100,7 +100,6 @@ void fracrat( _Inout_ PRAT *pa , uint32_t radix, int32_t precision) //----------------------------------------------------------------------------- void mulrat( _Inout_ PRAT *pa, _In_ PRAT b, int32_t precision) - { // Only do the multiply if it isn't zero. if ( !zernum( (*pa)->pp ) ) From 64e83ad6a94fd915c73f2f6cc6dc3912f885196a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Mon, 1 Apr 2019 15:13:49 -0400 Subject: [PATCH 2/2] Update src/CalcManager/Ratpack/rat.cpp Co-Authored-By: ariccio --- src/CalcManager/Ratpack/rat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CalcManager/Ratpack/rat.cpp b/src/CalcManager/Ratpack/rat.cpp index 92c9af7e..16be51ed 100644 --- a/src/CalcManager/Ratpack/rat.cpp +++ b/src/CalcManager/Ratpack/rat.cpp @@ -263,7 +263,7 @@ void addrat( _Inout_ PRAT *pa, _In_ PRAT b, int32_t precision) //----------------------------------------------------------------------------- void rootrat( _Inout_ PRAT *py, _In_ PRAT n, uint32_t radix, int32_t precision) -{ +{ // Initialize 1/n PRAT oneovern= nullptr; DUPRAT(oneovern,rat_one);