As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Tips Talk:Represent numerics as strings with no loss of precision

From sasCommunity
Jump to: navigation, search

Great tip! --Don Henderson 03:24, 14 January 2010 (UTC)


Good tip--Art Carpenter 02:51, 18 January 2010 (UTC)


Looks good. Hex representation is used widely in numerical analysis to compare/test algorithm precision. Liang Xie 5:39PM CST Jan 26, 2010


Promoting to Tip_Ready; Good job! Charlie Shipp 01:18, 5 February 2010 (UTC)


Within a platform, it is more efficient to use the RBw format and informat to make the "round trip", since no conversion is required. -- chang_y_chung 03:38, 15 January 2011 (UTC)

  • Moreover, less space is taken. That may be important in packing data into an external file; less so for macro variables.--Howles 21:02, 26 January 2011 (UTC)
  • More specifically, it would be RB8 (justifying exceptions is going to be complicated).--Howles 21:02, 26 January 2011 (UTC)
  • Hex is preferable i think for use in code.--Howles 21:02, 26 January 2011 (UTC)
  • Perhaps Chang wants to take the HEX example in the Unintentional Loss of Precision article and add a parallel example using RB8.--Howles 21:02, 26 January 2011 (UTC)