Added nn_divapprox/divrem_preinv_c and used throughout.