CompuServe Messages

Long vs. Float?

    28-Jul-93 09:44:18
Sb: #36060-Long vs. Float?
Fm: Syndesis 76004,1763
To: Mark D. Manes 74030,744
Unless your denominators ever become zero (divide by zero gurus), there's nothing "wrong" with that. There's a sequence of promotion when evaluating expressions. In simplest terms, if you mix floats and ints or longs, the result is the float.