Post Reply 
Multiply Function [x]
08-03-2018, 01:07 PM
Post: #4
RE: Multiply Function [x]
Hello Gamo,

what is the problem with the decimal numbers? Remove the decimal points, multiply the intergers and add the (correct) decimal point to the result.

Most of the time decimal numbers are stored in a computer as floating point numbers with significand (digits) and exponent. For example in IEEE754 format
x = m * 2^e
where m is the significand and e is the exponent.

Multiplication is done by multiplying the significands, adding the exponents and normalize the result.

The multiplication of the significands could be done by a shift and add algorithm. Wikipedia
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Multiply Function [x] - Gamo - 08-03-2018, 09:27 AM
RE: Multiply Function [x] - Pekis - 08-03-2018, 01:04 PM
RE: Multiply Function [x] - rprosperi - 08-03-2018, 01:13 PM
RE: Multiply Function [x] - wynen - 08-03-2018 01:07 PM
RE: Multiply Function [x] - Dave Britten - 08-03-2018, 02:10 PM
RE: Multiply Function [x] - Dieter - 08-03-2018, 02:40 PM
RE: Multiply Function [x] - Thomas Klemm - 08-03-2018, 05:33 PM
RE: Multiply Function [x] - Thomas Klemm - 08-03-2018, 06:45 PM
RE: Multiply Function [x] - Leviset - 08-03-2018, 10:54 PM
RE: Multiply Function [x] - ijabbott - 08-03-2018, 11:05 PM
RE: Multiply Function [x] - Gamo - 08-04-2018, 01:41 AM
RE: Multiply Function [x] - Gamo - 08-04-2018, 04:23 AM
RE: Multiply Function [x] - Namir - 08-04-2018, 08:26 AM
RE: Multiply Function [x] - brickviking - 08-05-2018, 03:12 AM
RE: Multiply Function [x] - Gamo - 08-05-2018, 03:33 AM
RE: Multiply Function [x] - Thomas Klemm - 08-05-2018, 04:07 PM



User(s) browsing this thread: 6 Guest(s)