File:  [parser3project] / parser3 / tests / 422.html
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Thu Nov 16 22:32:37 2023 UTC (2 years, 9 months ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, HEAD
int clipping added

@main[]
^show(2000000000)
^show(4000000000)
^show(5000000000)
^show(-2000000000)
^show(-4000000000)
^show(-5000000000)

$n(100000000000)

n:$n (clipped 0x^n.format[%x])

1. % ^eval($n % ($n-1))

2. \ ^eval($n \ ($n/1000))

3. ~ ^eval(~$n)[%x]

4. >> ^eval($n >> 16 )[%x]

5. << ^eval($n << 16 )[%x] (^eval($n << 16 ))

6. % ^eval(1 % 0.3)

7. mod ^n.mod($n-0.5) $n

8. $i(10) $i(^i.int[])
   mod ^i.mod(4.8) $i

9. $n(10)
   mod ^n.mod(4.8) $n

@show[n]
${n}: ^n.format[%d] ^n.format[%u] ^n.format[%x]

E-mail: