Re: printf(".2lf", x) in Guile Scheme?

2008-09-16 Thread David Séverin
Le Tue, 16 Sep 2008 18:34:09 -0700 (PDT), walrus <[EMAIL PROTECTED]> a écrit : > > How to display a real number with exactly two decimal digits in Guile Scheme? > Just like > printf(".2f", x) in C > Thanks! Hello Walrus, ;; -- http://www.gnu.org/software/guile/manual/guile.html

printf(".2lf", x) in Guile Scheme?

2008-09-16 Thread walrus
How to display a real number with exactly two decimal digits in Guile Scheme? Just like printf(".2f", x) in C Thanks! -- View this message in context: http://www.nabble.com/printf%28%22.2lf%22%2C-x%29-in-Guile-Scheme--tp19523918p19523918.html Sent from the Gnu - Guile - Dev mailing list archive

[PATCH][VM] Fix first-time compilation

2008-09-16 Thread Ludovic Courtès
Hello! The attached patch fixes first-time compilation, by ensuring SRFI modules are built before "guile-tools compile" is ever run. Thanks, Ludo'. >From 691a111c440a26c021f52b4027b0d9772f8e04cc Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Ludovic=20Court=C3=A8s?= <[EMAIL PROTECTED]> Date: Tue, 16 S

Re: advice on reducing C stack frame size?

2008-09-16 Thread Andy Wingo
Hi, On Tue 16 Sep 2008 07:27, Ken Raeburn <[EMAIL PROTECTED]> writes: > On Sep 13, 2008, at 12:56, Andy Wingo wrote: >> So for example, just sitting at the repl, we have: >> >>#28 0x001c48fc in vm_run (vm=0xb7f1ff58, program=0x8d53df8, >>#29 0x001bfcad in program_apply (program=0xb7ee2730

Re: Goops & Valgrind

2008-09-16 Thread Neil Jerram
2008/9/16 Mikael Djurfeldt <[EMAIL PROTECTED]>: > 2008/9/11 Neil Jerram <[EMAIL PROTECTED]>: >> Also, is Mikael right with his error #1? I'm thinking not, because I >> believe that instances are structs too, so surely it's OK to call >> SCM_STRUCT_DATA (x)[...] on them? > > It is good that you are

Re: array handles and non-local exits

2008-09-16 Thread Ludovic Courtès
Hello! "Neil Jerram" <[EMAIL PROTECTED]> writes: > 2008/9/15 Ludovic Courtès <[EMAIL PROTECTED]>: >> >> "Neil Jerram" <[EMAIL PROTECTED]> writes: >> >>> Now, as it happens, the code doesn't actually implement what the >>> manual says, and in fact scm_array_handle_release() is currently a >>> no-o

Re: Goops & Valgrind

2008-09-16 Thread Mikael Djurfeldt
2008/9/11 Neil Jerram <[EMAIL PROTECTED]>: > Also, is Mikael right with his error #1? I'm thinking not, because I > believe that instances are structs too, so surely it's OK to call > SCM_STRUCT_DATA (x)[...] on them? It is good that you are sceptical about what I say because it was a long time a