Generate ufuncs for frexp and ldexp