Y
Hacker News
new
|
ask
|
show
|
jobs
by
nomilk
1597 days ago
Good point. Although if NA were complex: 1^1+0i is 1+0i.
1 comments
_fnhr
1597 days ago
There are different NAs for different types of objects. And that's why you get:
1^NA_complex_ # NA
But:
1^NA_real_ # 1
link