05-05-2022, 05:46 PM
INF (It's not funny?) Maybe change that to INFP, (It's not... possible.)
Anyway, I forgot dc also asked about that INF, -IFN stuff. This was not in QBasic, but because QB64 is a C/C++ translator, We see it when we cause a severe math error as trying to divide by zero, or better put...
"The C++ infinity is written as "INF" and it accrues in the outcome of dividing a positive numeric value by a null value or calculating a numeric value that is greater than the larger number of our system that can be represented in 64 bits."
So INF stands for infinity. Don't even try to define that as a constant.
Pete
Anyway, I forgot dc also asked about that INF, -IFN stuff. This was not in QBasic, but because QB64 is a C/C++ translator, We see it when we cause a severe math error as trying to divide by zero, or better put...
"The C++ infinity is written as "INF" and it accrues in the outcome of dividing a positive numeric value by a null value or calculating a numeric value that is greater than the larger number of our system that can be represented in 64 bits."
So INF stands for infinity. Don't even try to define that as a constant.
Pete
Shoot first and shoot people who ask questions, later.