Displaying 20 results from an estimated 100000 matches similar to: "No subject"
2009 Sep 06
3
linear mixed model question
Hello,
I wanted to fit a linear mixed model to a data that is similar in
terms of design to the 'Machines' data in 'nlme' package except that
each worker (with triplicates) only operates one machine. I created a
subset of observations from 'Machines' data such that it looks the
same as the data I wanted to fit the model with (see code below).
I fitted a model in
2005 Sep 06
3
[Bug 1529] 32bit rollover problem rsyncing files greater than 4GB in size
https://bugzilla.samba.org/show_bug.cgi?id=1529
------- Additional Comments From thomas@suse.de 2005-09-06 06:37 -------
Now when len is OFF_T is it possible that sum->count (which is size_t) in
sum_sizes_sqroot() will rollover too at line:
sum->count = (len + (blength - 1)) / blength; ?
When we assume all variables have all bits set:
2^64 + (2^32 - 1) / 2^32 = 2^32 + 1
2010 Jul 23
4
[LLVMdev] Floating-Point Overflow check
Hi,
i need to check if an overflow of an floating-point arithmetic operation
occured.
Currently I'm doing something like this (for addition):
(LHS > 0 && RHS > 0 && sum <= 0) || (LHS < 0 && RHS < 0 && sum >= 0)
This is checked for every addition.
Is there a more efficient way like the intrisic for int overflow?
How is it possible to raise a
2018 May 09
3
NAs produced by integer overflow, but only some time ...
I have problem with integer overflow that I cannot understand.
I have a character vector curr.lemmas with the following properties:
length(curr.lemmas) # 61224
length(unique(curr.lemmas)) # 2652
That vector is the input to the following function:
yules.k1 <- function(input) {
m1 <- length(input); temp <- table(table(input))
m2 <- sum("*"(temp,
2005 May 05
2
[LLVMdev] (no subject)
>> In other words, abandoning overflow detection makes the
>> duplication of types redundant, while requiring it would be a
>> great burden on CPUs that don't have overflow exception hardware.
>
>Yes, you're right. This has been a desired change for quite some time
>now. Unfortunately, its a huge impact to nearly every part of LLVM. We
>will
2009 Jan 15
2
Problem syncing large dataset
Hi,
When using rsync-3.0.2 through 3.0.5, I get this error on a large
dataset syncing from machine-a to machine-b:
$ /bin/rsync -aHSz /local/. machine-b:/local/.
invalid len passed to map_ptr: -1737287498
rsync error: error in file IO (code 11) at fileio.c(188) [sender=3.0.5]
This happens no matter which side initiates the connection, so this
fails in the same way:
$ /bin/rsync -aHSz
2018 Nov 05
3
Safe fptoui/fptosi casts
Hi everyone!
The fptoui/fptosi instructions are currently specified to return a poison
value if the rounded-towards-zero floating point number cannot be
represented by the target integer type. The motivation for this behavior is
that overflowing float to int casts in C are undefined behavior.
However, many newer languages prefer to have a float to integer cast that
is well-defined for all input
2010 Jul 23
0
[LLVMdev] Floating-Point Overflow check
On Jul 23, 2010, at 7:20 AM, Steffen Geißinger wrote:
> i need to check if an overflow of an floating-point arithmetic operation occured.
> Currently I'm doing something like this (for addition):
>
> (LHS > 0 && RHS > 0 && sum <= 0) || (LHS < 0 && RHS < 0 && sum >= 0)
IEEE floating-point doesn't overflow like this; if the
2010 Jul 01
4
(no subject)
Jean-Mark, Tim,
Could either of you expound on the following comment in cwrs.c?
/*If _k==0, the following do-while loop will overflow the buffer.*/
----------------------------------------------------------------
...because the following do-loop does overflow the buffer when k=126
k=2;
do _u[k]=(k<<1)-1;
while(++k<len);
Thanks,
MikeH
-------------- next
2018 May 09
0
NAs produced by integer overflow, but only some time ...
a) Numeric values may be either integers (signed 32 bit) or double precision (53 bit mantissa).
b) Double precision constants are numeric with no decoration (e.g. 61224). Integer constants have an L (e.g. 61224L).
c) 61224*61224 > 2^31-1 so that answer cannot fit into an integer.
d) Exponentiation is a floating point operation so the result of 61224L^2L is a floating point answer that CAN
2020 May 22
6
RFC: *scanf vs. overflow
It has long been known that the C specification of *scanf() leaves
behavior undefined for things like
int i;
sscanf("9999999999999999", "%i", &i);
C11 7.21.6.2 P12
"Matches an optionally signed integer, whose format is the same as
expected for the subject sequence of the strtol function with the value
0 for the base argument."
C11 7.21.6.2 P10
"If this
2012 Sep 13
6
[newbie] aggregating table() results and simplifying code with loop
Dear all,
I'm looking for primary help at aggregating table() results and at
writing a loop (if useful)
My dataset ( http://goo.gl/gEPKW ) is composed of 23k rows, each one
representing a point in the space of which we know the land cover over
10 years (column y01 to y10).
I need to analyse it with a temporal sliding window of 5 years (y01 to
y05, y02 to y06 and so forth)
For each period
2004 Mar 16
3
multiple summation
Hello,
I have to compute a multiple summation (not an integration because the
independent variables a
are discrete) for all the values of a function of several variables f
(x_1,...,x_n), that is
sum ... sum f(x_1,...,x_n)
x_1 x_n
have you some suggestion? Is it possible?
I know that for multiple integration there is the function adapt, but it has at
most n=20. In my case n depends on the
2015 Apr 24
2
[LLVMdev] Loss of precision with very large branch weights
On 04/24/15 14:44, Xinliang David Li wrote:
>
> Isn't that the direct result of the branch weights not being scaled
> (after reaching the cap) -- thus leading to wrong branch probability
> (computed from weights)? Wrong probability leads to wrong Frequency
> propagation.
Yup, I'm trying to see if we couldn't just use 64bit values all over to
make things easier. The
2012 Aug 30
2
segfault in gplots::heatmap.2
Hi all,
I experience a segfault when calling gplots::heatmap.2(), but only when
certain other packages are loaded.
I am not sure for the correct place to send this bug report. Should I send
it to the package maintainers directly? If R-help is the wrong place,
please feel free to direct me to the correct one.
I am on debian (testing) linux 64 with the binary R distribution
from the
2012 Aug 30
2
segfault in gplots::heatmap.2
Hi all,
I experience a segfault when calling gplots::heatmap.2(), but only when
certain other packages are loaded.
I am not sure for the correct place to send this bug report. Should I send
it to the package maintainers directly? If R-help is the wrong place,
please feel free to direct me to the correct one.
I am on debian (testing) linux 64 with the binary R distribution
from the
2006 Oct 17
1
About compositional data analysis
The compositional data xi=(x_i1,x_i2,...,x_in), for each fixed i , xij>0,
and sum(xij)=1;
I want to compare the mean( u_i) of several groups
i.e.
H0: u_1=u_2=...=u_N
or
H0: u_11=u_21=...=u_N1
Are there any ANOVA tpye tools to do this work in R?
Thanks,
WEN S Q
[[alternative HTML version deleted]]
2018 Nov 05
5
Safe fptoui/fptosi casts
I would be interested in learning what the set of used semantics for
float-to-int conversion is. If the only two used are 1) undefined behavior
if unrepresentable and 2) saturate to int_{min,max} with NaN going to zero,
then I think it makes sense to expose both of those natively in the IR. If
the set is much larger, I think separate intrinsics for each behavior would
make sense. It would be nice
2011 Dec 09
3
bug in sum() on integer vector
Hi,
x <- c(rep(1800000003L, 10000000), -rep(1200000002L, 15000000))
This is correct:
> sum(as.double(x))
[1] 0
This is not:
> sum(x)
[1] 4996000
Returning NA (with a warning) would also be acceptable for the latter.
That would make it consistent with cumsum(x):
> cumsum(x)[length(x)]
[1] NA
Warning message:
Integer overflow in 'cumsum'; use
2009 Mar 25
1
how to calcualte Jaccard Coefficient
Does anyone have a good method for calculating Jaccard coefficients now that the dissimilarity() function is no longer an option?
Wen Gu
John Jay College of Criminal Justice445 West 59 StreetNew York, NY 10029
wgu@gc.cuny.edu
_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail®.