triffid/Teacup_Firmware — comment on commit 9dbfa7217e0de8b140846ab480d6b4a7fc9b6791
File:  line 0
By Traumflug:

A second review resulted in a whole bunch of commits on the Gen7 branch. This time tested, especially this decfloat_to_int() (that's about the 8th rewrite of this function :-) ).

X, Y and Z are now back to the old code, E has kept the new one. I think that's the best compromise.

> to replace um_to_steps_x() with um_to_steps(steps, um, steps_per_m[X_AXIS])

If you find a function which does this without using a float and in reasonable time/size, I'm all ears :-) As a function it could even do steps = um_to_steps(um, steps_per_m). A useful helper might be msbloc() in dda.c.