Displaying 12 results from an estimated 12 matches for "nonterminating".
2004 Feb 03
3
Implementating streams in R
...ogic programming
interpreter in R as done in LISP by G.F.Luger in his book or by Abelson &
Sussman in "Structure
and Interpreation of Computer Program".
Thank you,
Gabriel
###
### Examples
###
> fib<-fibonacci.stream(0,1)
Note that the fibonacci.stream() function is a nonterminating recursive
function. It works only because
of the delayed evaluation introduced by the delay() function in
cons.stream() . It would not work if I
implemented streams as simple list (see example at the very end of this
posting).
> head.stream(fib) # get the first element
[1] 1
> tail.st...
2012 Aug 14
12
[TESTDAY] xl cpupool-create segfaults if given invalid configuration
# xl cpupool-create ''name="pool2" sched="credit2"''
command line:2: config parsing error near `sched'': syntax error,
unexpected IDENT, expecting NEWLINE or '';''
Failed to parse config file: Invalid argument
*** glibc detected *** xl: free(): invalid pointer: 0x0000000001a79a10 ***
Segmentation fault (core dumped)
Looking at the code
2010 Feb 28
1
[LLVMdev] C infinite recursion mis-optimized?
On 02/28/10 07:39, Duncan Sands wrote:
> Hi Isaac,
>
>> For fun, I made a recursive function, but LLVM optimized it wrong (if
>> I'm understanding C standards correctly).
>>
>> "void f() { f(); }"[see llvm-code in footnote 1]
>> was optimized to be equivalent to "void f() {}"[also 1]. I believe it
>> should either be equivalent in
2006 May 29
6
Numerical error in R (win32) (PR#8909)
Hi
I had observed the following problem in R (also C, Matlab, and Python).
sprintf('%1.2g\n', 3.15)
give 3.1 instead of 3.2 whereas an input of 3.75 gives 3.8.
Java's System.out.printf is ok though.
> round(3.75,1)
[1] 3.8
> round(3.15,1)
[1] 3.1
Similar outcome with sprintf in R.
However, the right answer should be 3.2
Regards
Teckpor
[[alternative HTML version
2010 Feb 28
0
[LLVMdev] C infinite recursion mis-optimized?
Hi Isaac,
> For fun, I made a recursive function, but LLVM optimized it wrong (if
> I'm understanding C standards correctly).
>
> "void f() { f(); }"[see llvm-code in footnote 1]
> was optimized to be equivalent to "void f() {}"[also 1]. I believe it
> should either be equivalent in effect to "void f() { while(1){} }"[2],
> which produces an
2005 Mar 12
1
[LLVMdev] GCC 3.4.1 and conflicting types for 'malloc'
Hi
These are:
========================
llvm[2]: Linking Release Object Library LLVMbzip2.o
gmake[2]: Leaving directory `/homes/myuser/LLVM/llvmobj/lib/Support/bzip2'
gmake[1]: Leaving directory `/homes/myuser/LLVM/llvmobj/lib/Support'
gmake[1]: Entering directory `/homes/myuser/LLVM/llvmobj/utils'
gmake[2]: Entering directory `/homes/myuser/LLVM/llvmobj/utils/Burg'
llvm[2]:
2012 Sep 11
4
[PATCH] libxl: Tolerate xl config files missing trailing newline
I wrote:
> Also I wrote:
> > However, xl fails on config files which are missing the final
> > newline. This should be fixed for 4.2.
>
> My patch for this didn''t make it into 4.2 RC4.
Should this go into 4.2.0 or be held for 4.2.1 (or is it not 4.2.x
material at all) ?
Ian.
From: Ian Jackson <ian.jackson@eu.citrix.com>
Subject: [PATCH] libxl: Tolerate xl
2005 Apr 22
0
[LLVMdev] tabs
I found 179 more *.{c,cpp,h} files with tabs. Unfortunately, the tabs
stops used vary so blindly expanding them messes up alignment in many
cases :(
Index: examples/BFtoLLVM/BFtoLLVM.cpp
Index: include/llvm/AbstractTypeUser.h
Index: include/llvm/GlobalVariable.h
Index: include/llvm/InstrTypes.h
Index: include/llvm/IntrinsicInst.h
Index: include/llvm/ADT/PostOrderIterator.h
Index:
2010 Feb 28
3
[LLVMdev] C infinite recursion mis-optimized?
I tried the LLVM demo with unmodified settings
http://llvm.org/demo/index.cgi
(same results from llvm 2.6 with clang, `clang-cc -emit-llvm -O2
test.c`, on my Linux x86_64)
For fun, I made a recursive function, but LLVM optimized it wrong (if
I'm understanding C standards correctly).
"void f() { f(); }"[see llvm-code in footnote 1]
was optimized to be equivalent to "void f()
2006 Aug 15
2
Windows build with Visual Studio 2005 - some success
Hi all,
first up, big thanks to Dave for doing the hard work of porting
Lucene. I have come to love Lucene through my Java work and was
extremely pleased to find the Ferret project for Ruby.
Now, I am tinkering with building the C extension using Visual Studio 2005.
So far, I have had some success in getting something built and working
in my Rails app (diffs attached). I am also encountering a
2014 Jan 28
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Stepan,
Sorry for the delay. It's great that you are working on MergeFunctions
as well and I agree, we should definitely try to combine our efforts to
improve MergeFunctions.
Just to give you some context, the pass (with the similar function
merging patch) is already being used in a production setting. From my
point of view, it would be better if we focus on improving its
capability
2014 Jan 30
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hello Sean and Tobias,
Sean,
Thank you. Could you describe Nick's ideas in few words or give me links
to your discussion, so I could adapt my ideas to it.
Tobias,
Your patch fails on several modules in my benchmark (73 of ~1800 tests).
I have sent one as attachment.
See statistics files for more details, all the .ll files you could
simply find in test-suite object directory (after