chsasank / llama.lisp

Lisp dialect designed for HPC and AI
GNU Lesser General Public License v2.1
15 stars 6 forks source link

Introduce more types and add type conversion #68

Closed adi-lb-phoenix closed 4 months ago

adi-lb-phoenix commented 4 months ago

I have implemented 'Int to Float' and 'Float to Int' explicit type casting in Brilisp which fixes #67. The syntax for it is (set (f_n float) (sitofp n)) in case integer to float and (set (f_n int) (fptosi n)) in case of float to integer explicit conversions.

chsasank commented 4 months ago

Awesome. Merging.