On Sat, 3 Jul 2021 at 08:33, Alec Ari via Emc-developers
<emc-developers@lists.sourceforge.net> wrote:

> Just curious, how would LinuxCNC detect a lack of precision in floating 
> point? There are trivial x86_64 specific math instructions which would 
> probably be faster than what LinuxCNC has used since the beginning but if 
> these instructions happened to be off by a few decimals somewhere, how would 
> you know? Would LinuxCNC throw a fault or would the machine just drift 
> further and further away from where it's supposed to be or what?

I suspect that you would never notice. LinuxCNC only really needs to
work to microns ot tenths of thou, so as long as it's all good to 5
decimal places it is unlikely that a problem would be seen.
The motors (spindles aside) don't turn long enough in one direction to
accumulate errors. And spindles tend to re-zero the encoder counters
when doing synchronised moves.


-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to