|
Actually, you'll find me agreeing with you about divide-by-zero. I discovered that division is expensive and accident prone way back in Sys/3 Mod 6 days when we counted bytes to avoid overlays . Multiplying by .01 is way better than dividing by 100. You won't find much DIV op code stuff in any programs I write for exactly the reasons you say. --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@MartinVT.com --------------------------------------------------------- -------Original Message------- From: rpg400-l@midrange.com Date: Thursday, November 21, 2002 10:04:38 AM To: rpg400-l@midrange.com Subject: RE: CL pgm and pointer variables Wouldn't an easy solution to divide-by-zero errors be to just not use division? Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.