generated float routines