Le 25/03/2016 23:52, Jack a écrit :
What surprised me, it's that you can get a 'good' representation of
[1000001( when you send it to [rawprint] (from zexy), but the same
message sent through netsend/netreceive become [1000000(.
I must therefore conclude that [rawprint] can get exactly 1000001 (and
maybe netsend can too), but the couple /netsend/netreceive or netreceive
can't give the right value ?
the is a diference between the float value, and it's pd representation.
pd representation is a bit less accurate than a 32bit float.
(see older thread on pd precision)
rawprint certainly print the float with full precision.
but netsend/netreceive use pd number representation.
If you use a network analyser, like wireshark, you'll see that 1000001 is send using
"1e+06"
number are send in ascii.
I hope i am enough clear.
you were clear enough,
it's just me that write only half of the answer the 1st time.
c
Example attached.
++
Jack
Le 25/03/2016 23:17, cyrille henry a écrit :
pd represent 1000001 with 1e+06.
it's the same representation than 1000000
...
c
Le 25/03/2016 23:00, Jack a écrit :
Hello,
when i send a float '1000001' with 'netsend', 'netreceine' get '1000000'.
Is it a normal behavior ?
Configuration :
Pd 0.46.5
Ubuntu 15.10
++
Jack
PS : i find a workaround by sending the number as symbol.
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list