Commit 9d1e140c authored by Alexander Hirsch's avatar Alexander Hirsch
Browse files

Spec: Single precision floating point arithmetic is sufficient

parent 666a1860
......@@ -418,7 +418,9 @@ The mC compiler targets x86 and uses GCC as back-end compiler.
On an x86_64 system, GCC multi-lib support must be available and the flag `-m32` is passed to the compiler.
The code generated by the back-end is compiled with the [GNU Assembler]( (by GCC).
Pay special attention to floating point and integer handling.
Single precision floating point arithmetic is sufficient.
The `print_float` built-in only outputs 2 decimal places.
Use [cdecl calling convention](
It is paramount to correctly implement the calling convention, otherwise the stack may get corrupted during function calls and returns.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment