|
Number parses its argument as simple C expression containing the
operators /, *, %, +, –, &, ^, and | on numbers parsed with strtoll(2).
Numbers may be decorated with a binary scale k, m, g, t, e, z,
y using 1024 as a base. The result is printed as with print(2).
The default format is %lld; alternate formats can be
specified with –f. Formats are as in print(2). The special format
« prints the result as a sequence of left–shifts and ors. The alternate
format flag # combines strings of 1s. The format m prints the
exact result using the same binary scale as above. The alternate
format flag # allows rounding. The format width changes
the base from 1024. All operations are preformed in 64–bit signed
arithmetic.
|