Host introspection: Difference between revisions
Content added Content deleted
m ({{out}} / -Category:Scala Implementations) |
(Nimrod -> Nim) |
||
Line 542: | Line 542: | ||
</lang> |
</lang> |
||
=={{header| |
=={{header|Nim}}== |
||
<lang |
<lang nim>import math |
||
echo cpuEndian |
echo cpuEndian |
||
echo round(log2(float(int.high))) + 1</lang> |
echo round(log2(float(int.high))) + 1</lang> |