We need someone to implement the conversion on this page using C (not C++).
[login to view URL]
Here are 3 sample data points for testing:
Hexadecimal Representation = 409c2c0000000000 Click Not Rounded
Double Precision Result :
Hex = 409c2c0000000000 Decimal = 1803.000000000
Hexadecimal Representation = 409c4c0000000000 Click Not Rounded
Double Precision Result :
Hex = 409c4c0000000000 Decimal = 1811.000000000
Hexadecimal Representation = 40A0DA0000000000 Click Not Rounded
Double Precision Result :
Hex = 40A0DA0000000000 Decimal = 2157.000000000
Your output must have the following form:
Float Convert_to_754_double ( unsigned short int a,b,c,d)
{
Return a float whose value is the conversion of the 64 bits provided;
}
Eg:
Float Convert_to_754_double ( 0x49c0 , 0x2c00 , 0x0000 , 0x000)
{
Return a float whose value is the conversion of the 64 bits provided;
}
This is urgent and we need it done today. Please bid only if you can complete this task today.