On Friday 31 August 2007 09:52, Sergey Plis wrote:
> On Friday 31 August 2007 01:50:09 Sergey Plis wrote:
> > : ]total ( *gsl_vector -- f:sum )
> >
> >     dup ]size gsl_vector_alloc dup 1e0 ]fill dup rot ]. ]free ;
>
> Changing 1e0 to !1 did the trick - works now! Why?

Maybe a problem with the number conversion scheme. I've rewritten the 
floating point number conversion to make it more ANS conformant (+ sign for 
exponent allowed), and this might have broken some things. I can't see why 
you have this problem, either, because here, scientific notation works 
fine.

Can you just import float and try a few things like

1e5 f.
1d5 f.
1E5 f.
1D5 f.
1+5 f.
1-5 f.
1'5 f.

and the same with the ! prefix? This all works here.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/

Attachment: pgpPi10NNsOjh.pgp
Description: PGP signature

Reply via email to