Hello,

I'm getting strange results with the following:

: (version)
21.11.17
-> (21 11 17)
: (scl 16)
-> 16
: (setq Ptr (%@ "malloc" 'P 4))
-> 9674752
: (struct Ptr NIL (list -1.0 1280.0))
-> NIL
: (format (car (struct Ptr '(-1.0 . 1))) *Scl)
-> "-103.5058256155770880"
: (struct Ptr (cons 'B 4))
-> (42 43 13 196)

The value seems completely off; the examples for 'struct work fine.
Picolisp was built with LLVM12.

-Kevin

Reply via email to