floating point numbers incorrect

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
brandonb
Posts: 438
Joined: Mon Aug 29, 2011 12:26 am
Location: arizona
Has thanked: 175 times
Been thanked: 173 times

floating point numbers incorrect

Post by brandonb »

was toying with megasqurts fuel injection rate equasion, it gives correct answer in simulation but not on chip...i have a feeling with this my numbers are to large for 32 bit floats, am i close?
FIGURING OUT MEGASQUIRT.fcf
(10 KiB) Downloaded 286 times

brandonb
Posts: 438
Joined: Mon Aug 29, 2011 12:26 am
Location: arizona
Has thanked: 175 times
Been thanked: 173 times

Re: floating point numbers incorrect[SOLVED]

Post by brandonb »

got it figured out, it was the way i wrote the equasions, i simplified them and whah lah it works
this works.fcf
(10 KiB) Downloaded 332 times

Post Reply