-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm trying to get [pow 2] from -0.019022952498528478. because it is negative, [pow 2] will just return 0 unfortunately. IOhannes suggested in a thread from 2013 to use [expr pow($f1, 2)] instead. This returns 0.000361872
however, in Python and my on-screen pocket calculator I get - -0.019022952498528478**2 - -0.0003618727217612709 so apart from the 32 bit float, shouldn't the result be negative? m. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlVzI3oACgkQ3EB7kzgMM6Lo3QCfUnGAQ5MfFHjbpxXB8H+DETUg QB0AmwYHTpGWLf3fRC2yNATrrLNxUXIY =HlBD -----END PGP SIGNATURE----- _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
