[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] floating point division by zero



On 2023-03-03 11:00, mohamed sarmouk via TRNSYS-users wrote:

I keep on having this error "Floating point division by zero".
I verified my type code and there is no division by zero, also i added
an insignificant number to denominator to avoid division by zero.

If you want to track the source of the divide by zero, I would suggest that you use the compiler and put the project into debug mode and run it. It'll flag the line that is causing the divide by zero.

Jeff

--
----
Jeff Thornton
President
Thermal Energy System Specialists (TESS)
3 N. Pinckney Street - Suite 202
Madison WI 53703
(608) 274-2577
www.tess-inc.com