[PD-dev] [PD] double precision merged

IOhannes m zmoelnig zmoelnig at iem.at
Wed Feb 26 14:20:49 CET 2020


On 26.02.20 14:09, Dan Wilcox wrote:
> Forgive me if this has been gone over, but what's the behavior if a single-precision Pd tries to load a double-precision external or vice versa? Does it fail to load or simply crash?

with Pd>=0.51, the class_new will refuse to register the objectlcass
(and instead return NULL).

e.g.

> refusing to load 32bit-float object 'choice' into 64bit-float Pd

resp.

> refusing to load 64bit-float object 'choice' into 32bit-float Pd

if you attempt to load a double-precision external with Pd<0.51, it will
refuse to load the library with an error:

> choice.pd_linux: undefined symbol: class_new64

fgmasdr
IOhannes

PS: https://lists.puredata.info/pipermail/pd-dev/2015-02/020073.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20200226/c9a11e85/attachment.sig>


More information about the Pd-dev mailing list