Add docstring

11 jobs for nan_to_inf in 8 minutes and 46 seconds (queued for 2 seconds)