3 ms·
That's all fine but X and Y were floats while INVX and INVY were integers due to implicit typing. Probably not what they wanted.
by germanier 10y ago
That's all fine but X and Y were floats while INVX and INVY were integers due to implicit typing. Probably not what they wanted.
- alephnil 10y agoOnly if implicitly declared. You could define them as reals, and in well written code, you would. That is why you have the old joke that "God is real, unless declared otherwise".
- moomin 10y agoYes, you could, but the poor sap who'd only just started programming ended up having to ask the mathmo who knew a bit about computers.