blob: c1e4d284c4ba86d5062cfd0e9ed7b208bdb44c76 [file]
.. _float-ops:
Native float operations
========================
These ``float`` operations have fast, optimized implementations. Other
floating point operations use generic implementations that are often
slower.
.. note::
At the moment, only a few float operations are optimized. This will
improve in future mypyc releases.
Construction
------------
* Float literal
* ``float(string)``
Functions
---------
* ``abs(f)``