Data update
This commit is contained in:
parent
8e4e15fa56
commit
72eb4943cb
1853 changed files with 35514 additions and 9441 deletions
|
|
@ -1,2 +1,11 @@
|
|||
Pi:
|
||||
DC.L $40490FDB
|
||||
fmovecr.x #0,fp0 ; now fp0 contains pi
|
||||
fmovecr.x #$0c,fp1 ; now fp1 contains e
|
||||
|
||||
; you can also define constants in several formats
|
||||
extended: dc.x 2.0 ; extended precision, 80-bits in the FPU but stored as 96-bits in memory
|
||||
doublep: dc.d 2.0 ; 64-bit double precision
|
||||
singlep: dc.s 2.0 ; 32-bit single precision
|
||||
packedbcd: dc.p 2.0 ; a 96-bit packed BCD format
|
||||
|
||||
; they can be loaded with the corresponding instructions, e.g.
|
||||
fmove.p packedbcd,fp2
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
2.3 # Standard floating-point literal
|
||||
0.3e34 # Short floating-point
|
||||
1/3 # Uiua can work with repeating decimals
|
||||
1/24 # Another example of the above
|
||||
2 # Uiua only has 4 types - all non-complex numbers are floats
|
||||
Loading…
Add table
Add a link
Reference in a new issue