Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
' FB 1.05.0 Win64 (so little endian, 8 byte word size, expected)
|
||||
|
||||
' uses intrinsic defines, set by the compiler
|
||||
|
||||
#Ifdef __FB_64BIT__
|
||||
Print "Host has an 8 byte word size"
|
||||
#Else
|
||||
Print "Host has a 4 byte word size"
|
||||
#EndIf
|
||||
|
||||
#Ifdef __FB_BIGENDIAN__
|
||||
Print "Host is big endian"
|
||||
#Else
|
||||
Print "Host is little endian"
|
||||
#EndIf
|
||||
|
||||
Sleep
|
||||
3
Task/Host-introspection/Nim/host-introspection.nim
Normal file
3
Task/Host-introspection/Nim/host-introspection.nim
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
import math
|
||||
echo cpuEndian
|
||||
echo round(log2(float(int.high))) + 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue