How to normalize two numbers.

This is a discussion on How to normalize two numbers. within the C Programming forums, part of the General Programming Boards category; I need to normalize two float or double numbers to the same exponent because I need to sum them in ...

  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    13

    How to normalize two numbers.

    I need to normalize two float or double numbers to the same exponent because I need to sum them in an assembly program

    Suppose the user gives

    0.006 x 10E2
    0.02 x 10E3


    One of both must be moved to have the same exponent than the other.

    If you know how : I would appreciate it. Thanks

  2. #2
    Registered User
    Join Date
    Sep 2004
    Posts
    719
    Did you forget your password?
    i seem to have GCC 3.3.4
    But how do i start it?
    I dont have a menu for it or anything.

  3. #3
    Registered User
    Join Date
    Apr 2005
    Posts
    13
    I think I did

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Question about random numbers
    By Kempelen in forum C Programming
    Replies: 2
    Last Post: 07-02-2008, 07:28 AM
  2. Help with Rational Numbers (C++)
    By cloudjc in forum C++ Programming
    Replies: 3
    Last Post: 04-28-2008, 05:03 PM
  3. Logical errors with seach function
    By Taka in forum C Programming
    Replies: 4
    Last Post: 09-18-2006, 06:20 AM
  4. the definition of a mathematical "average" or "mean"
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 12-03-2002, 11:15 AM
  5. A (complex) question on numbers
    By Unregistered in forum C++ Programming
    Replies: 8
    Last Post: 02-03-2002, 06:38 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21