Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

floating point arithmatic

Status
Not open for further replies.

feroz

Newbie level 5
Newbie level 5
Joined
Jan 3, 2006
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,370
can any body able to explain about floating point arithmatic. specially multiplication. some regarding this if possible...
thax
 

xworld2008

Full Member level 4
Full Member level 4
Joined
Dec 13, 2002
Messages
230
Helped
18
Reputation
36
Reaction score
14
Trophy points
1,298
Activity points
1,801
I think IEEE have a standard about float point, you can try find it.
 

artem

Advanced Member level 4
Advanced Member level 4
Joined
May 22, 2003
Messages
1,347
Helped
126
Reputation
252
Reaction score
32
Trophy points
1,328
Location
Turkey
Activity points
13,450
**broken link removed**
 

justin.li

Newbie level 4
Newbie level 4
Joined
Dec 8, 2005
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,379
The idea that IEEE 754 prescribes precisely the result a given program must
deliver is nonetheless appealing. Many programmers like to believe that they
can understand the behavior of a program and prove that it will work correctly
without reference to the compiler that compiles it or the computer that runs it.
In many ways, supporting this belief is a worthwhile goal for the designers of
computer systems and programming languages. Unfortunately, when it comes
to floating-point arithmetic, the goal is virtually impossible to achieve. The
authors of the IEEE standards knew that, and they didn’t attempt to achieve it.
As a result, despite nearly universal conformance to (most of) the IEEE 754
standard throughout the computer industry, programmers of portable software
must continue to cope with unpredictable floating-point arithmetic.
If programmers are to exploit the features of IEEE 754, they will need
programming languages that make floating-point arithmetic predictable. C9X
improves predictability to some degree at the expense of requiring
programmers to write multiple versions of their programs, one for each
FLT_EVAL_METHOD. Whether future languages will choose instead to allow
programmers to write a single program with syntax that unambiguously
expresses the extent to which it depends on IEEE 754 semantics remains to be
seen. Existing extended-based systems threaten that prospect by tempting us
to assume that the compiler and the hardware can know better than the
programmer how a computation should be performed on a given system. That
assumption is the second fallacy: the accuracy required in a computed result
depends not on the machine that produces it but only on the conclusions that
will be drawn from it, and of the programmer, the compiler, and the hardware,
at best only the programmer can know what those conclusions may be.
 

caplash_vlsi

Member level 2
Member level 2
Joined
Nov 1, 2006
Messages
45
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,502
u can refer to patterson....very gud block diagram of a fp adder is given.....also refer to ieee 754 paper on floating point.....given with this link....hope this will help u....
 

rakesh1234

Member level 5
Member level 5
Joined
Dec 12, 2006
Messages
93
Helped
13
Reputation
26
Reaction score
7
Trophy points
1,288
Activity points
1,872
The idea that IEEE 754 prescribes precisely the result a given program must
deliver is nonetheless appealing. Many programmers like to believe that they
can understand the behavior of a program and prove that it will work correctly
without reference to the compiler that compiles it or the computer that runs it.
In many ways, supporting this belief is a worthwhile goal for the designers of
computer systems and programming languages. Unfortunately, when it comes
to floating-point arithmetic, the goal is virtually impossible to achieve. The
authors of the IEEE standards knew that, and they didn’t attempt to achieve it.
As a result, despite nearly universal conformance to (most of) the IEEE 754
standard throughout the computer industry, programmers of portable software
must continue to cope with unpredictable floating-point arithmetic.
If programmers are to exploit the features of IEEE 754, they will need
programming languages that make floating-point arithmetic predictable. C9X
improves predictability to some degree at the expense of requiring
programmers to write multiple versions of their programs, one for each
FLT_EVAL_METHOD. Whether future languages will choose instead to allow
programmers to write a single program with syntax that unambiguously
expresses the extent to which it depends on IEEE 754 semantics remains to be
seen. Existing extended-based systems threaten that prospect by tempting us
to assume that the compiler and the hardware can know better than the
programmer how a computation should be performed on a given system. That
assumption is the second fallacy: the accuracy required in a computed result
depends not on the machine that produces it but only on the conclusions that
will be drawn from it, and of the programmer, the compiler, and the hardware,
at best only the programmer can know what those conclusions may be.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top