summaryrefslogtreecommitdiffstatshomepage
path: root/py/formatfloat.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-10-04 21:46:38 +1100
committerDamien George <damien.p.george@gmail.com>2017-10-10 16:01:04 +1100
commitd8d4e4dfbe4ca76a1b0adf4f1938562a308c6d48 (patch)
treef8a1128dabdcd955c791ed05637bbdf15947e971 /py/formatfloat.c
parent25e140652b946e9a136a16a9831c0b18f1285702 (diff)
downloadmicropython-d8d4e4dfbe4ca76a1b0adf4f1938562a308c6d48.tar.gz
micropython-d8d4e4dfbe4ca76a1b0adf4f1938562a308c6d48.zip
py/modmath: Convert log2 macro into a function.
So that a pointer to it can be passed as a pointer to math_generic_1. This patch also makes the function work for single and double precision floating point.
Diffstat (limited to 'py/formatfloat.c')
0 files changed, 0 insertions, 0 deletions