5 lines
62 B
R
5 lines
62 B
R
|
|
d <- 5/0
|
||
|
|
if ( !is.finite(d) ) {
|
||
|
|
# it is Inf, -Inf, or NaN
|
||
|
|
}
|