another stoopid thing. Auto Array problems....

BlitzMax Forums/BlitzMax Beginners Area/another stoopid thing. Auto Array problems....

Hi,

Yes, this is a bug - it's promoting float+float to double.

However, I would like to point out the double math is typically *not* slow! In fact, all FP math is done inside the CPU at 80 bit precision regardless of the 'source' of the operands. Float/double only affects how variables are stored in memory and passed to functions.

'Double is slow' has been put forward as a theory several times to explain away some speed anomilies, but has been disproved in all cases so far.

Finally, would you be so kind as to not title your topics 'this or that is stoopid'? It just isn't particularly encouraging my end.