Hi, Can someone explain the role of fuzzbits in round function? How it works and what is the impact? Thanks & Regards Manoj http://www.imrbint.com/disclaimer.html ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
FUZZBITS arises from the nature of floating
point arithmetic. Most fractional values cannot be represented exactly
as a floating point number, which leads to unexpected results sometimes
even when the pencil and paper calculation seems simple. You might
want to Google floating point numbers for some background. Wikipedia
has a good article on this.
From the help... Rounding and Truncation of Numeric Values. For the RND and TRUNC functions, this setting controls the default threshold for rounding up values that are very close to a rounding boundary. The setting is specified as a number of bits and is set to 6 at install time, which should be sufficient for most applications. Setting the number of bits to 0 produces the same results as in release 10. Setting the number of bits to 10 produces the same results as in releases 11 and 12.
Jon Peck (no "h") aka Kim Senior Software Engineer, IBM [hidden email] phone: 720-342-5621 From: "Manoj Arora (DEL/Abacus Analytics)" <[hidden email]> To: [hidden email] Date: 01/16/2015 05:40 AM Subject: [SPSSX-L] Role of Fuzz bits in Round Function Sent by: "SPSSX(r) Discussion" <[hidden email]> Hi, Can someone explain the role of fuzzbits in round function? How it works and what is the impact? Thanks & Regards Manoj
|
Free forum by Nabble | Edit this page |