SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.

The Southern California OS/2 User Group
USA

SCOUG-Programming Mailing List Archives

Return to [ 20 | January | 2005 ]

<< Previous Message << >> Next Message >>


Date: Thu, 20 Jan 2005 10:35:15 PST8
From: "Steven Levine" <steve53@earthlink.net >
Reply-To: scoug-programming@scoug.com
To: scoug-programming@scoug.com
Subject: SCOUG-Programming: Ongoing

In <200501201805.j0KI5nGI017132@well.com>, on 01/20/05
at 10:05 AM, "Gregory W. Smith" said:

> result = a*b/c
>is not necessarily the same as
> temporary = a*b
> result = temporary/c
>Rounding and truncation of intermediate values can propagate through
>millions of calculations and affect the final result. In the example
>2/3.1, the answer is 0.6 when the result is stored as .
>A difference occurs, however,

Focusing on an implementation detail like the lack or not of machine level
BCD arithemtic obscures the fact that that correct answers are more often
dependent on correct algorithms and understanding the numerical
characteristics than any single hardware feature.

BCD arithmetic does nothing to solve the problem where the same data needs
to processed both as:

sum(a*b)

and

sum(a) * b

Make b something like LA sales tax and make a a sufficiently large set of
purchases and one will get to choose between two answers both of which are
arguably correct. Worse yet, one does not always get to choose a single
implementation from the above.

Steven

--
----------------------------------------------------------------------
"Steven Levine" MR2/ICE 2.60b #10183 Warp4/FP15/14.100c_W4
www.scoug.com irc.fyrelizard.com #scoug (Wed 7pm PST)
----------------------------------------------------------------------

=====================================================

To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".

For problems, contact the list owner at
"rollin@scoug.com".

=====================================================


<< Previous Message << >> Next Message >>

Return to [ 20 | January | 2005 ]



The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.