[Gambas-user] Infinities and division

BB adamnt42 at gmail.com
Tue Nov 29 15:14:36 CET 2022


I'm not real good on infinite mathematics but

	If Abs((.Actual - .Predicted) / .Predicted) > 0.005 Then

throws a "Division by zero (26)" error when .Actual = -Inf and 
.Predicted = (a normal real like) 63.665584

Is that correct? Because to me it's a very misleading error.

regards

bruce

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20221130/2817cf6b/attachment.htm>


More information about the User mailing list