Displaying 7 results from an estimated 7 matches for "1e18".
Did you mean:
1518
2004 Dec 09
1
Modulus Bug (PR#7409)
R Developers,
1000000000000000000 %% 11
[1] -32
I now understand that integers cannot be larger than
.Machine$integer.max, but because the above produces a result than is
patently wrong instead of an error, I'm reporting this as a bug.
Thank you for the incredible contributions all of you have made in
developing the R platform.
Best,
Robert
Robert McGehee
Geode Capital Management, LLC
53
2008 Jul 04
1
update on dnbinom with large "size"
...g(prob))
~ stop("'prob' and 'mu' both specified")
~ prob <- size/(size + mu)
~ }
~ .Internal(dnbinom(x, size, prob, log))
}
~ Ben Bolker
- --------------------------
~ Check it out:
curve(dnbinom(1,mu=0.5,size=x),log="x",from=1,to=1e18)
abline(h=dpois(1,lambda=0.5),col=2,lty=2)
text(1,dpois(1,lambda=0.5)+0.02,"Poisson",col=2,pos=4)
~ I will take a look in the C code when I get
a chance to see if I can offer
a patch, but in the meantime wanted to alert people to
this "feature" ... (it looks like I will have...
2005 May 11
7
bug in modulus operator %% (PR#7852)
The following can't be right,
first rw2010:
> 1 %% 0.001
[1] 0.001
Then rw2001:
> 1 %% 0.001
[1] -2.081668e-17
>
and the last seems about right.
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
-- Mahdi Elmandjra
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
2006 Nov 07
4
solve computationally singular
Hi uRsers,
when inverting a 2 by 2 matrix using solve, I encountered a error message:
solve.default(sigma, tol = 1e-07) :
system is computationally singular: reciprocal condition number
= 1.7671e-017
and then I test the determinant of this matrix: 6.341393e-06.
In my program, I have a condition block that whether a matrix is
invertible like this:
if(det(sigma)<1e-7) return NULL;
2005 Apr 18
1
R-2.1.0 is released
...e single-quoted,
and classes double-quoted.
o Reading text files with embedded "\" (as in Windows file names)
may now need to use scan(* , allowEscapes = FALSE), see also below.
NEW FEATURES
o %% now warns if its accuracy is likely to be affected by lack
of precision (as in 1e18 %% 11, the unrealistic expectation of
PR#7409), and tries harder to return a value in range when it is.
o abbreviate() now warns if used with non-ASCII chars, as the
algorithm is designed for English words.
o The default methods for add1() and drop1() check for changes
in the number of...
2005 Apr 18
1
R-2.1.0 is released
...e single-quoted,
and classes double-quoted.
o Reading text files with embedded "\" (as in Windows file names)
may now need to use scan(* , allowEscapes = FALSE), see also below.
NEW FEATURES
o %% now warns if its accuracy is likely to be affected by lack
of precision (as in 1e18 %% 11, the unrealistic expectation of
PR#7409), and tries harder to return a value in range when it is.
o abbreviate() now warns if used with non-ASCII chars, as the
algorithm is designed for English words.
o The default methods for add1() and drop1() check for changes
in the number of...
2006 Feb 01
3
No access check deleting printer drivers
Hello list!
On all my samba installations (3.0.20b) I can delete all unused printer
drivers with rpcclient regardless which user name or password i use.
Is this a general feature or might it depend on my settings?
Thanks,
Martin
--
Martin Zielinski mz@seh.de
Software Development
SEH Computertechnik GmbH www.seh.de