File: numberbase.batch

package info (click to toggle)
libqalculate 5.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,400 kB
  • sloc: cpp: 128,069; makefile: 151; sh: 114; xml: 39
file content (33 lines) | stat: -rw-r--r-- 467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
52 to bin
	0011 0100
52 to bin16
	0000 0000 0011 0100
52 to oct
	064
52 to hex
	0x34
0x34
	52
hex(34)
	52
523<<2&250 to bin
	0010 1000
52.345 to float
	0100 0010 0101 0001 0110 0001 0100 1000
float(01000010010100010110000101001000)
	52.34500122
floatError(52.345)
	0.000001220703125
1978 to roman
	MCMLXXVIII
52 to base 32
	1K
sqrt(32) to base sqrt(2)
	100000
set input base 16
5p10+AEp-2*p23
	364909568
set input base 10
/set unicode 1
52.34 to sexa
	52°20′24″