|
Forum Index : Microcontroller and PC projects : CMM2 - scientific format
| Author | Message | ||||
| lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3477 |
Understandable. I didn't run the suggested code earlier because I couldn't see what the addition was supposed to show. (And maybe you're right.) Edited 2021-02-26 01:52 by lizby PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
| Nimue Guru Joined: 06/08/2020 Location: United KingdomPosts: 425 |
I "obviously" (erm honestly) figured that unless the for loop was actually doing something then any difference between int and float would be negligible. N Entropy is not what it used to be |
||||
| zeitfest Guru Joined: 31/07/2019 Location: AustraliaPosts: 622 |
your code.... timer=0 for n%=1 to 1000000:next i% = i% + 1 ?timer Inadvertently I figured the i%=i%+1 needed to be inside the for loop. my code: timer=0 for n%=1 to 1000000 i% = i% + 1 next ?timer Thanks ! (Cough, ahem, cough) yes you are both right I was tired m'lud etc etc.The point was, I don't think the empty loop is a good general test of floating point Edited 2021-02-26 06:33 by zeitfest |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |