Search found 1 match

by RalfR
28 May 2019, 09:52
Forum: Bug reports
Topic: Double values get truncated when sent by signal
Replies: 1
Views: 629

Double values get truncated when sent by signal

When trying to store a double value (with ~14 relevant digits) with a Lua signal, the corresponding function seems to be sim.setFloatSignal. However, the values seem to be truncated to 32-bit float values when using this. A test code looks like this: local testvar=simROS.getTime() -- or something li...