Displaying 4 results from an estimated 4 matches for "same__".
Did you mean:
same_
2017 Jan 26
2
Undefined behavior of head() and tail() with n = 0
...One place in R where the difference might be
> || seen is in division by zero: ?1/x? is ?Inf? or ?-Inf? depending on
> || the sign of zero ?x?. Another place is ?identical(0, -0, num.eq =
> || FALSE)?.
>
> says the *contrary* ( __Where possible R treats them as the same__ ):
> We do _not_ want to distinguish -0 and +0,
> but there are cases where it is inavoidable
>
> And there are good reasons (mathematics !!) for this.
>
> I'm pretty sure that it would be quite a mistake to start
> differentiating it here... but of course we can continue...
2017 Jan 25
3
Undefined behavior of head() and tail() with n = 0
Hi all,
The documentation for head() and tail() describes the behavior of
these generic functions when n is strictly positive (n > 0) and
strictly negative (n < 0). How these functions work when given a zero
value is not defined.
Both GNU command-line utilities head and tail behave differently with +0 and -0:
http://man7.org/linux/man-pages/man1/head.1.html
2017 Jan 26
0
Undefined behavior of head() and tail() with n = 0
...version of Windows). One place in R where the difference might be
|| seen is in division by zero: ?1/x? is ?Inf? or ?-Inf? depending on
|| the sign of zero ?x?. Another place is ?identical(0, -0, num.eq =
|| FALSE)?.
says the *contrary* ( __Where possible R treats them as the same__ ):
We do _not_ want to distinguish -0 and +0,
but there are cases where it is inavoidable
And there are good reasons (mathematics !!) for this.
I'm pretty sure that it would be quite a mistake to start
differentiating it here... but of course we can continue
discussing here if you like.
Mar...
2017 Jan 27
0
Undefined behavior of head() and tail() with n = 0
...the difference might be
>> || seen is in division by zero: ?1/x? is ?Inf? or ?-Inf? depending on
>> || the sign of zero ?x?. Another place is ?identical(0, -0, num.eq =
>> || FALSE)?.
>>
>> says the *contrary* ( __Where possible R treats them as the same__ ):
>> We do _not_ want to distinguish -0 and +0,
>> but there are cases where it is inavoidable
>>
>> And there are good reasons (mathematics !!) for this.
>>
>> I'm pretty sure that it would be quite a mistake to start
>> differentiating it here... bu...