Open msalaba01 opened 2 years ago
Sorry for the delay real life has been rough. I'll take a look at it asap
On Wed, Apr 27, 2022, 8:19 AM msalaba @.***> wrote:
It seems you commented out code to set iDiv
https://github.com/cecell/cLib/blob/5993fc3e1ca90c561361c18f6ee94d9baa03075b/clib.psc#L1834 Later in the function you are dividing by iDiv which I assume would throw a bunch of errors. I think you intended it to be
endif ; Init divisor to loop from MSBs iDiv = Math.Pow(2, (iBits - 1)) As Int
You could also move L1812 to L1835 Int iDiv = Math.Pow(2, (iBits - 1)) As Int You don't need to declare iDiv until after you check iRes
— Reply to this email directly, view it on GitHub https://github.com/cecell/cLib/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJQW6ODXEYK3FQWCSPTCA3VHE5FLANCNFSM5UPDR5QA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
It seems you commented out code to set iDiv https://github.com/cecell/cLib/blob/5993fc3e1ca90c561361c18f6ee94d9baa03075b/clib.psc#L1834 Later in the function you are dividing by iDiv which I assume would throw a bunch of errors. I think you intended it to be
You could also move L1812 to L1835
Int iDiv = Math.Pow(2, (iBits - 1)) As Int
You don't need to declare iDiv until after you check iRes