Use a programming language of your choice (i.e java) to write an application to convert decimal number to IEEE-754 Single Precision Floating-Point Representation (32-bit) and IEEE-754 Double Precision Floating-Point Representation (64-bit) and convert back to decimal. Use GUI as user interface asking the user for decimal number and the program will output the result. Specification The IEEE-754 single precision floating point standard uses an 8-bit exponent (with a bias of 127) and a 23-bit significand. The IEEE-754 double precision standard uses an 11-bit exponent (with a bias of 1023) and a 52-bit significand. Requirements Make your application runnable. I’ve been using Java but I have a hard time with GUI (t makes no sense to me) and how to convert the floating points back to decimals. Below is what I have so far. import java.util.Scanner; public class conversionClass { public static void main(String[]args) { Scanner scanInput = new Scanner(System.in); double decimalNum; int valueBit; String stringOfBits; System.out.println(“Please enter the decimal that needs to convert in single precision floating point”); decimalNum = scanInput.nextInt(); float f = (float)decimalNum; valueBit = Float.floatToIntBits(f); stringOfBits = Integer.toBinaryString(valueBit); System.out.println(“Single precision floating point:” + stringOfBits); System.out.println(“Please enter the decimal that needs to convert in double precision floating point”); decimalNum = scanInput.nextInt(); stringOfBits = Long.toString(Double.doubleToLongBits(decimalNum), 2); System.out.println(“double precision floating point:” + stringOfBits);
Posted on by admin
Use a programming language of your choice (i.e java) to write an application to convert decimal number to IEEE-754 Single Precision Floating-Point Representation (32-bit) and IEEE-754 Double Precision Floating-Point Representation (64-bit) and convert bac
WHAT OUR CURRENT CUSTOMERS SAY

- Google

- Sitejabber

- Trustpilot
Zahraa S
Absolutely spot on. I have had the best experience with Elite Academic Research and all my work have scored highly. Thank you for your professionalism and using expert writers with vast and outstanding knowledge in their fields. I highly recommend any day and time.
Stuart L
Thanks for keeping me sane for getting everything out of the way, I’ve been stuck working more than full time and balancing the rest but I’m glad you’ve been ensuring my school work is taken care of. I'll recommend Elite Academic Research to anyone who seeks quality academic help, thank you so much!

Mindi D
Brilliant writers and awesome support team. You can tell by the depth of research and the quality of work delivered that the writers care deeply about delivering that perfect grade.

Samuel Y
I really appreciate the work all your amazing writers do to ensure that my papers are always delivered on time and always of the highest quality. I was at a crossroads last semester and I almost dropped out of school because of the many issues that were bombarding but I am glad a friend referred me to you guys. You came up big for me and continue to do so. I just wish I knew about your services earlier.

Cindy L
You can't fault the paper quality and speed of delivery. I have been using these guys for the past 3 years and I not even once have they ever failed me. They deliver properly researched papers way ahead of time. Each time I think I have had the best their professional writers surprise me with even better quality work. Elite Academic Research is a true Gem among essay writing companies.
Got an A and plagiarism percent was less than 10%! Thanks!


Jermaine Byrant
Nicole Johnson



