npub10fmsw3ukhmqnnsjmalfekl6j4cucxvfl50he9dmqcna36a99nf6s8zx0qg (npub10fm…x0qg) I usually go for ints, and care how wide, but the cpu I use now has hardware single precision float support so do that a bit.
So yes, compare your square with a square of reference rather than sqrt. Multiple one side of compare rather than dividing the other side. Etc etc etc.