Hideya YOSHIDA | 23 Dec 05:56 2007
Picon

rxmatch-num-matches (0.8.12)

Hi there,

as described in
http://practical-scheme.net/gauche/man/gauche-refe_49.html#IDX394
the result of

(rxmatch-num-matches #f)

should be 0.

But I got #f using Gauche 0.8.12 [utf-8,pthreads].

Thanks in advance.
---
hyoshida

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Shiro Kawai | 23 Dec 08:00 2007
Picon

Re: rxmatch-num-matches (0.8.12)

Thanks.
I think I put a bug when I rewrote some of extlib.stub.
Fixed in CVS HEAD.

--shiro

From: Hideya YOSHIDA <hyoshida <at> rib.okayama-u.ac.jp>
Subject: [Gauche-devel] rxmatch-num-matches (0.8.12)
Date: Sun, 23 Dec 2007 13:56:09 +0900

> Hi there,
> 
> as described in
> http://practical-scheme.net/gauche/man/gauche-refe_49.html#IDX394
> the result of
> 
> (rxmatch-num-matches #f)
> 
> should be 0.
> 
> But I got #f using Gauche 0.8.12 [utf-8,pthreads].
> 
> Thanks in advance.
> ---
> hyoshida
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
(Continue reading)

Bill Schottstaedt | 24 Dec 13:53 2007
Picon

asinh limit

I'm not sure this is a bug, but it tripped me in a filter computation:

  (asinh 1000000.0)

returns 

  -inf.0-inf.0i

gosh> (sinh 14.5086577385245)
1000000.0000000303
gosh> (asinh (sinh 14.5086577385245))
-inf.0-inf.0i
gosh> (gauche-version)
"0.8.12"

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Shiro Kawai | 24 Dec 14:20 2007
Picon

Re: asinh limit

Oops.
It's a bug in the code that tries to avoid numerical unstability.
It should've cut only the range of -Re(z) being very large.
Thanks for reporting this.

--shiro

From: "Bill Schottstaedt" <bil <at> ccrma.Stanford.EDU>
Subject: [Gauche-devel] asinh limit
Date: Mon, 24 Dec 2007 04:53:32 -0800

> I'm not sure this is a bug, but it tripped me in a filter computation:
> 
>   (asinh 1000000.0)
> 
> returns 
> 
>   -inf.0-inf.0i
> 
> gosh> (sinh 14.5086577385245)
> 1000000.0000000303
> gosh> (asinh (sinh 14.5086577385245))
> -inf.0-inf.0i
> gosh> (gauche-version)
> "0.8.12"
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
(Continue reading)


Gmane