Floating point numbers fitting into SCM object

2024-11-13 Thread Tommi Höynälänmaa
Has anyone considered implementing floating point values with e.g. 60 bits that could fit into an SCM object? They would be more efficient than double precision numbers and almost as accurate. - Tommi Höynälänmaa -- Kotisivu / Homepage: http://www.iki.fi/tohoyn/ Sähköposti / E-Mail

Re: Exporting a nonexistent variable

2024-11-05 Thread Tommi Höynälänmaa
Thanks! Maxime Devos kirjoitti 5.11.2024 klo 11.23: I’ve send it to bug-guile, should appear in the issue tracker soon -- Kotisivu / Homepage:http://www.iki.fi/tohoyn/ Sähköposti / E-Mail:tommi.hoynalan...@iki.fi GPG-sormenjälki / GPG fingerprint: 55F4 2477 7155 3528 5CB2 2B7A BB86 1FDE 4046

Re: Exporting a nonexistent variable

2024-11-04 Thread Tommi Höynälänmaa
am.scm:6:3: In procedure main: Unbound variable: myproc --- cut here --- - Tommi Höynälänmaa -- Kotisivu / Homepage: http://www.iki.fi/tohoyn/ Sähköposti / E-Mail: tommi.hoynalan...@iki.fi GPG-sormenjälki / GPG fingerprint: 55F4 2477 7155 3528 5CB2 2B7A BB86 1FDE 4046 0F83 FT, Debian-ylläpitäjä / PhD, Debian Maintainer

Exporting a nonexistent variable

2024-11-04 Thread Tommi Höynälänmaa
19:8  1 (_ #(#(#))) In program.scm:   6:3  0 (main _) program.scm:6:3: In procedure main: Unbound variable: myproc --- I think Guile could report a warning if a nonexistent variable is exported as the cause of this kind of errors may be difficult to find in a large program. - To

Warnings as errors

2024-10-23 Thread Tommi Höynälänmaa
Is it possible to treat warnings as errors with "guild compile"? If not, why?      - Tommi Höynälänmaa -- Kotisivu / Homepage: http://www.iki.fi/tohoyn/ Sähköposti / E-Mail: tommi.hoynalan...@iki.fi GPG-sormenjälki / GPG fingerprint: 55F4 2477 7155 3528 5CB2 2B7A BB86 1FDE 4046 0F83

Re: Corrected cumulative time measuring support

2021-01-29 Thread Tommi Höynälänmaa
Hi Here is a properly formatted version of the patch. - Tommi Höynälänmaa Tommi Höynälänmaa kirjoitti 26.1.2021 klo 13.27: Hi I made an enhanced version of Guile statprof that computes the cumulative time spent in procedures correctly (so that recursive invocations of the same

Corrected cumulative time measuring support

2021-01-26 Thread Tommi Höynälänmaa
Hi I made an enhanced version of Guile statprof that computes the cumulative time spent in procedures correctly (so that recursive invocations of the same procedure are counted only once). The patch is attached. Please inform me if you find any bugs. - Tommi Höynälänmaa 31c31

Re: Coexistence of different Guile versions

2019-03-11 Thread Tommi Höynälänmaa
I looked at the Debian packages guile-2.0-dev and guile-2.2-dev. It might be sufficient to just add version suffixes to files /usr/bin/guild, /usr/bin/guile-config, and /usr/bin/guile-snarf and then using "update-alternatives --install" for these scripts.      - Tommi Höynälänmaa

Coexistence of different Guile versions

2019-03-10 Thread Tommi Höynälänmaa
they can't be used for several Guile versions in the same system. Could this be changed? For example, we could rename libguile.h to libguile-.h and do the same for Guile libraries.      - Tommi Höynälänmaa

Re: A Pango attribute deallocated twice

2018-06-09 Thread Tommi Höynälänmaa
Hi Mark H Weaver kirjoitti 09.06.2018 klo 04:05: Thank you for your investigation, this is very helpful. Certainly the attribute argument to 'pango_attr_list_insert' should not be caller-owned. However, I'm not sure that callee-owned is quite right either, and I'm surprised that g-wrap would n

Re: A Pango attribute deallocated twice

2018-06-07 Thread Tommi Höynälänmaa
. Is there some reason why WCT arguments should not be callee owned? If not, these changes should probably be integrated in the sources. - Tommi Höynälänmaa

Re: A Pango attribute deallocated twice

2018-06-06 Thread Tommi Höynälänmaa
timized away. Mark Yes, but I think that the attribute still should not be deallocated twice. - Tommi Höynälänmaa

A Pango attribute deallocated twice

2018-06-05 Thread Tommi Höynälänmaa
bug: 1. Unpack file theme-d-gnome-bug1.tar.bz2 and cd to subdirectory theme-d-gnome-bug1. 2. Launch script init.sh. 3. Launch script launch-gdb.sh. 4. Give command run. 5. After guile starts give the following commands:   (load "rtp.scm")   (__main (list "" "calc-9.go")) Does anyone have ideas how to fix this? - Tommi Höynälänmaa

A problem with licenses

2018-05-30 Thread Tommi Höynälänmaa
/theme-d_1.1.0_amd64.deb http://www.iki.fi/tohoyn/theme-d/th-scheme-utilities_1.4.1_all.deb   http://www.iki.fi/tohoyn/theme-d/libthemedsupport_1.1_amd64.deb - Tommi Höynälänmaa

About seq in Tree-IL

2018-05-27 Thread Tommi Höynälänmaa
I use Tree-IL as an intermediate language for my own programming language Theme-D and the generated Tree-IL files contain a huge nested seq expression. Could we allow multiple toplevel expressions in a Tree-IL file or have the Tree-IL begin expression back? - Tommi Höynälänmaa

Is there something wrong with complex atan in guile?

2015-07-22 Thread Tommi Höynälänmaa
I get the following results with guile 2.0.9: ---cut here--- scheme@(guile-user)> (atan (tan -0.5+2.0i)) $1 = 1.070796326794897+1.9996i scheme@(guile-user)> (tan (atan -0.5+2.0i)) $2 = 0.1176470588235294+0.4705882352941177i ---cut here--- Although there are multiple branches in the co