Closed adi-lb-phoenix closed 4 months ago
In function (mat-cons void)
, we set set m as 0.0 using the instruction (set m 0.0)
, but while performing an addition operation that adds a value of 1 to m and stores in m
. A change should be made in the syntax from (set m (add m 1))
to (set m (fadd m 1.0))
because to add a floating point integer we need a floating point value and an opcode designed to handle floating point values.
Command executed :
c-lisp code executed :
Output :