RosettaCodeData/Task/Extreme-floating-point-values/R/extreme-floating-point-values.r
Ingy döt Net 764da6cbbb CDE
2013-04-10 16:57:12 -07:00

3 lines
113 B
R

# 0 and -0 are recognized but are both printed as simply 0.
1/c(0, -0, Inf, -Inf, NaN)
# Inf -Inf 0 0 NaN