Re: On fixed point annotation in the repl

2025-03-24 Thread Alexander Burger
Hi András, > If anyone is interested, here is the fixed-point version of Paul Graham’s ray > tracer from “ANSI Common Lisp”: > > ~~~ > # P.Graham: "ANSI Common Lisp" > # ray tracer Wow, cool, this looks good! Thanks! ☺/ A!ex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscrib

Re: On fixed point annotation in the repl

2025-03-24 Thread András Páhi
Hi, If anyone is interested, here is the fixed-point version of Paul Graham’s ray tracer from “ANSI Common Lisp”: ~~~ # P.Graham: "ANSI Common Lisp" # ray tracer # (gc 256) (scl 4) (de sq (X) (*/ X X 1.0)) (de mag (X Y Z) (sqrt (+ (* X X) (* Y Y) (* Z Z))) ) (de make-point (X Y Z) (lis