Also add explicit support for NaN/Inf Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
Signed-off-by: jojohappy <sarahdj0917@gmail.com>