From: <tomas@tuxteam.de>
To: guile-user@gnu.org
Subject: Re: Double-precision floating point arithmetics behaves differently in Guile and in C
Date: Sun, 26 Sep 2021 14:57:52 +0200 [thread overview]
Message-ID: <20210926125752.GA24417@tuxteam.de> (raw)
In-Reply-To: <CAMFYt2Z6zE0cm-419+VxS2uk792OVxX++Cnc5wBN-+M+jLRrbQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 609 bytes --]
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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2021-09-26 12:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-26 8:45 Double-precision floating point arithmetics behaves differently in Guile and in C Panicz Maciej Godek
2021-09-26 11:55 ` Panicz Maciej Godek
2021-09-26 13:16 ` Eli Zaretskii
2021-09-26 16:48 ` Panicz Maciej Godek
2021-09-26 12:57 ` tomas [this message]
2021-09-26 19:11 ` Matt Wette
2021-09-27 14:04 ` Panicz Maciej Godek
2021-10-16 9:19 ` Maxime Devos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210926125752.GA24417@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).