Hello there. I was wondering whether there's a way to write custom trigenomotry function (sin, cos, atan2) that work using integers only (e.g. in 1000th of degrees). I need to calculate directions out of two Latitudes/Longitudes as well as a compass reading and floats seem to slow down the program a lot.
Converting degrees to radians should be easy enough but I can't find anything on the internal logic of those trigenomotry function.
Any advice appreciated!