Re: Pd-0.56-2 on IRIX

IOhannes m zmoelnig via Pd-list <[email protected]> Wed, 14 Jan 2026 17:16:56 +0100
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
On 1/13/26 16:35, IOhannes m zmoelnig via Pd-list wrote:
> 
> there seems to be some problem with printing numbers.
> e.g. [noise~]->[env~]->[print] shows weird numbers, like "0+.3345" or 
> "/4.909"

mistral.ai says that this is a "well known bug" on IRIX, and gives a 
couple of suggestions on how to fix it (none of which work of course; 
the time has yet to come when an LLM will give me a code suggestions 
that actually works).

i can reproduce the problem with this trivial program:
```C
#include <stdio.h>

int main() {
    int i;
    for(i=30; i<=40; i++) {
       double f=(double)i;
       printf("%d\t%f\t%.1f\n", i, f, f);
    }
    return 1;
}
```

i thought that the problem might be related to using gcc, but apparently 
the issue persists when compiling with 'CC' (provided by MIPSpro; for 
unknown reasons this compiler appears to work, unlike the 'cc' (lower 
case) variant).

I'm currently trying to fix the MIPSpro installation, but i just noticed 
that even the software manager (swmgr) shows the same broken numbers, so 
I guess the problem lies deeper.




anyhow, on the plus side: i managed to fix the "expr" compilation; so 
now Pd-0.56-2 should be "feature complete", barring the audio/MIDI 
system which is still untested.

while you are trying to fix the networking issue, you could test whether 
audio is working with a simple [osc~ 440]->[dac~] patch running without 
a GUI...

gfasmnrd
IOhannes


-- 
please do not CC me for list-emails

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/MM2HVW5CUGGBZCFCEDYS75KYRSQYN7MP/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEdAXnRVdICXNIABVttlAZxH96NvgFAmlnwXgFAwAAAAAACgkQtlAZxH96Nvij
BQ/7BjtZm4M1RFJ7m/VvTOszL27GA1CZtuHlFCJdx56v+hL9ft6DBGaQlo0+PfZ9LOFEigR6eo1e
7NFmYiWKqJwf96ZolPO3PVbd9JkUvRA2ForSk8Y8ii/u2UK6ag4zLgeIsD7Iwg235f81pB2zRr/q
N9kYHqBbJsbDF+ASOaPK2JMQKCWHqjI6TVk9YoJJWtaTlJP5dk2EUAV3ohcB2LV+Y1ZFzOnrJOAa
DUA1hE1lRGTwjivFPEiS6hqGl0g1UIs5mQPrNdRgh/BXXO0FOIsk4tYj6sZpOPzVGW2wI8RPlJLg
YqvdiK2DIqcG+6XGgVOlh9a9K+gOD3IckE521jKzVHt79qjOgYF/yP0Me5eVTfWgc8+lPSOE3zVW
wwDtcOqXuehNC/itWO5r5Pai0I7Wb8RAIJULcZBMkknJGbEfLF0OQn0yvjUPNE1Hdp+jpkp7+CtL
FIUtHhfP6BL1AChRAE544gIrBRvuAoO/iN2C7NzPIF4IWJdYFIl7NvIm9YDmqnD2JswcaYJIHbn5
WMlIbCLtDhc+ost3gdVk9pBQIAzhRo76QJ0/lPGJ1ZqsdKpIUs7ktEkOFNKrAsqrn0ztYEWXdSYZ
ANLzkdYih1vf9NW9TrKtWJr0t8ZJhm21SCTOVZhbOYEMuNcRJ7jjcOk5zRKz1RkdGmd80syy9IWT
dHQ=
=LJhw
-----END PGP SIGNATURE-----