reilabs / llvm-to-cairo

Efforts to compile LLVM bytecode to run on top of the CairoVM and hence execute provably on Starknet
http://starknet.io
Apache License 2.0
1 stars 0 forks source link

Design the FPU #48

Open ktemkin opened 5 days ago

ktemkin commented 5 days ago

Description

Floating point operations on a hardware CPU are expected to be provided as part of a Floating Point Unit or FPU. This unit provides additional behaviors beyond raw floating point operations, including the FPU rounding mode, FPU flags, spec-compliant NaN handling, float-to-uint conversions and float-to-int-conversions.