Displaying 2 results from an estimated 2 matches for "compareto".
Did you mean:
compare_to
2016 Mar 12
2
R-3.2.4 Mac/Linux different in < on characters
..."1");y<-c("a","-1"); x<y
[1] TRUE TRUE
Mac:
x<-c("0","1");y<-c("a","-1"); x<y
[1] TRUE FALSE
On both systems, LC_COLLATE/LC_CTYPE/LANG are set to en_US.UTF-8
In Java,FWIW, I get the Mac answer if I use String.compareTo and the
Linux answer if I use Collator.compareTo, but the result is consistent
on Mac and Linux.
Mick Jordan
2015 May 01
2
[LLVMdev] Infinite loop in ScaledNumber when calling toInt
Duncan,
I'm tracking down an infinite recursion problem when calling toInt. The
problem seems to be that in the call to toInt, we call compareTo which, in
turn, calls toInt in one of its paths. This does not happens on 64bit
Scaled numbers. I'm trying to work out a fix, but maybe you'll spot the
problem quicker.
Here's a unittest that triggers the problem. I ran into it with another
patch I'm working on that needs to multi...