ieee754

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Show the IEEE 754 representation of the numerical values.
(This may be a fixed version.)

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

single 0.0
double 0.0
extended 0.0
single 1.0
double 1.0
extended 1.0
single -1.0
double -1.0
extended -1.0
single 2.0
double 2.0
extended 2.0
single -2.0
double -2.0
extended -2.0
single 3.0
double 3.0
extended 3.0
single -3.0
double -3.0
extended -3.0
single 10.0
double 10.0
extended 10.0

Sample output:

00000000
0000000000000000
00000000000000000000
3f800000
3ff0000000000000
3fff8000000000000000
bf800000
bff0000000000000
bfff8000000000000000
40000000
4000000000000000
40008000000000000000
c0000000
c000000000000000
c0008000000000000000
40400000
4008000000000000
4000c000000000000000
c0400000
c008000000000000
c000c000000000000000
41200000
4024000000000000
4002a000000000000000

Sample input:_

single 0.5
single 0.75
single 1.5
single 2.5
single -0.5
single -0.75
single -1.5
single 99.9
double 0.5
double 0.75
double 1.5
double 2.5
double -0.5
double -0.75
double -1.5
double 99.9
extended 0.5
extended 0.75
extended 1.5
extended 2.5
extended -0.5
extended -0.75
extended -1.5
extended 99.9

Sample output:

3f000000
3f400000
3fc00000
40200000
bf000000
bf400000
bfc00000
42c7cccd
3fe0000000000000
3fe8000000000000
3ff8000000000000
4004000000000000
bfe0000000000000
bfe8000000000000
bff8000000000000
4058f9999999999a
3ffe8000000000000000
3ffec000000000000000
3fffc000000000000000
4000a000000000000000
bffe8000000000000000
bffec000000000000000
bfffc000000000000000
4005c7cccccccccccccd

Sample input:_

single 2.718281828459045235360287471352
double 2.718281828459045235360287471352
extended 2.718281828459045235360287471352
single 1.41421356
single 1.41421356237309505
single 1.41421356237309504880168872420969808
single 3
single 3.14
single 3.14159265358979312
single 3.14159265358979323846264338327950288
double 1.41421356
double 1.41421356237309505
double 1.41421356237309504880168872420969808
double 3
double 3.14
double 3.14159265358979312
double 3.14159265358979323846264338327950288
extended 1.41421356
extended 1.41421356237309505
extended 1.41421356237309504880168872420969808
extended 3
extended 3.14
extended 3.14159265358979312
extended 3.14159265358979323846264338327950288

Sample output:

402df854
4005bf0a8b145769
4000adf85458a2bb4a9b
3fb504f3
3fb504f3
3fb504f3
40400000
4048f5c3
40490fdb
40490fdb
3ff6a09e65dc27df
3ff6a09e667f3bcd
3ff6a09e667f3bcd
4008000000000000
40091eb851eb851f
400921fb54442d18
400921fb54442d18
3fffb504f32ee13ef4b2
3fffb504f333f9de648f
3fffb504f333f9de6484
4000c000000000000000
4000c8f5c28f5c28f5c2
4000c90fdaa22168c013
4000c90fdaa22168c234

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1yowa2000.19322007/09/24 22:11:0712B / 92B / 93B

Python _

RankUserSizeTimeDateStatistics
1zetamatta6760.60632007/09/24 22:55:420B / 620B / 53B
2a6770.31492013/07/23 16:20:571B / ?B / ?B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima5320.42672007/09/24 17:54:410B / 291B / 187B
2kozima3420.48192008/11/14 14:59:100B / 188B / 117B

C _

RankUserSizeTimeDateStatistics
151b1550.03972007/09/24 19:35:000B / 70B / 85B
251b 1550.03502007/09/24 19:35:190B / 67B / 88B
3examiner2190.07022007/09/11 00:44:080B / ?B / ?B
451b1450.05722008/02/03 19:14:210B / 66B / 79B
551b 1480.08212007/09/28 05:39:400B / 65B / 83B

D _

RankUserSizeTimeDateStatistics
151b2020.02982007/09/24 19:24:050B / 103B / 96B
2YT2560.08222007/09/16 01:19:220B / ?B / ?B
351b1770.05702008/02/03 19:14:270B / 90B / 84B

Ada _

RankUserSizeTimeDateStatistics
1yt6110.02942007/09/12 18:30:490B / ?B / ?B
2yt5620.07412007/09/27 20:08:307B / ?B / ?B
3YT5830.07072007/09/25 04:08:160B / 389B / 156B

Pascal _

RankUserSizeTimeDateStatistics
1yt4760.02562007/09/11 15:36:200B / ?B / ?B

sed _

RankUserSizeTimeDateStatistics
1emoken(embed)7360.04682008/02/10 23:01:350B / ?B / ?B

z80 _

RankUserSizeTimeDateStatistics
1fsystem4620.51642008/01/04 18:46:06263B / 178B / 7B

Language Ranking_

RankLangUserSizeScore
1C51b14510000
2D51b1778192
3Rubyyowa2007250
4Common LISPkozima3424239
5z80fsystem4623138
6Pascalyt4763046
7Adayt5622580
8Pythonzetamatta6762144
9sedemoken(embed)7361970

Referer

Note that, they may contain spoilers.

return top