nastia94 nastia94
  • 23-03-2020
  • Computers and Technology
contestada

Create a program to convert to IEEE 754 a real number

Respuesta :

0nyi
0nyi 0nyi
  • 23-03-2020

Answer:

IEEE 754 floating-point numbers in C++, Java and Python

Hide Copy Code

typedef union UnFloatingPointIEEE754

{

struct

{

unsigned int mantissa : 23;

unsigned int exponent : 8;

unsigned int sign : 1;

} raw;

float f;

} UFloatingPointIEEE754;

Explanation:

The Bit operation extracts the bit in order to create the desired value (exponent and mantissa), according to IEEE 754 method.

GOOD QUESTION

Answer Link

Otras preguntas

Lillian max and nazia share a sum of money in the atop 2:3:5 nazia receives £60 work out how much money Lillian receives.
The vertex form of the equation of a parabola is y = (x + 3)2 + 53. What is the standard form of the equation? A.y = x2 + 53x + 42 B.y = x2 + 6x + 62 C.y = x2 +
How can you use the distributive property to write an equivalent expression for 2l+2w? explain.
8 (4p + 1) = 32p +8help....again
Is a van a common noun
What is the answer to 7n + 3 = 3n + 27
james measured his hand it was 0.17 meters . Jennifer  measured her hand it was 0.165 meters whose hand is bigger how do you know . EXLPAIN.
what is the relationship between bridge strength and bridge length
a triangle has angle 1 and angle 2 as remote interior angles with respect to exterior angle 3. given that measure of angle 1=50 andmeasure of angle 2=70, alicia
what is the first sentence in the book the alternate penguin