Host introspection: Difference between revisions

Content added Content deleted
(Scala added)
(Add Nimrod)
Line 470: Line 470:
say 'endianness:' endian
say 'endianness:' endian
</lang>
</lang>

=={{header|Nimrod}}==
<lang nimrod>import math
echo cpuEndian
echo round(log2(float(int.high))) + 1</lang>


=={{header|Objective-C}}==
=={{header|Objective-C}}==