-->
当前位置:首页 > 题库

PROGRAMMING:Research: internal code of double precision real numbers*

Luz5年前 (2021-05-10)题库421
Please write a program, input decimal double precision real number, output its 64 bit internal code.
Requirement: output internal code in hexadecimal form.
####Input format
>Decimal real number
####Output format
>Internal code (hexadecimal)
Requirement: all letters in hexadecimal internal code are uppercase.
For example: the conversion of real number $$3.6 $$to binary number is $$11.10011001... $, and the scientific counting method is $$1.11001... \ times 10 ^ 1 $$. Therefore, the 64 bit internal code is: 0100000000001100110011001101, and the hexadecimal writing is: 400cccccccd.
####Sample input
```in
three point six
```
####Sample output
```out
400CCCCCCCCCCCCD
```







answer:If there is no answer, please comment