guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Double-precision floating point arithmetics behaves differently in G


From: tomas
Subject: Re: Double-precision floating point arithmetics behaves differently in Guile and in C
Date: Sun, 26 Sep 2021 14:57:52 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sun, Sep 26, 2021 at 10:45:51AM +0200, Panicz Maciej Godek wrote:
> Hi,
> 
> I recently ran into a very weird problem. I am using code for computing
> Singular Value Decomposition that's been ported do Scheme by Gerald Sussman
> as a part of the scmutils package (more specifically, I use some bits of
> code extracted from guile-scmutils

Hm. A couple of things to check would be: your C code is using "double"
floats (the Guile manual says the inexacts are `doubles')? Are your Guile
(what's its version anyway) and C program compiled for the same platform
(i.e. word width)?

Cheers
 - t

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]