Displaying 1 result from an estimated 1 matches for "vbersion".
Did you mean:
bversion
2012 Mar 23
1
julian() and numerical noise
Hi,
does anybody know if the following behavior of julian() is intentional?
> julian(2, 1, 2012) - julian(2 - 1e-15, 1, 2012)
[1] 1
> julian(2, 1, 2012) - julian(2, 1 - 1e-15, 2012)
[1] 0
> julian(2, 1, 2012) - julian(2, 1, 2012 - 1e-15)
[1] 0
In other words, julian() is subject to numerical noise in the 'day'
argument, but not in the 'month' and