number conversion significant digits

From: Anil Rodrigues <arodrix_at_weld.com>
Date: Wed, 10 Dec 2008 11:58:50 -0500

Would anyone volunteer whether this is expected behaviour,
if yes why so?

  ok
\ set Options/fpmath options -(disp.format) significant digits = 10: ok
  ok
  ok
23456789 ok
s>f f. 23456789.00 ok
  ok
  ok
\ set Options/fpmath options -(disp.format) significant digits = 4: ok
  ok
23456789 ok
s>f f. 23450000. ok
  ok

Seems to me display format shouldn't make me lose signif. digits?

Cheers! Anil
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Wed Dec 10 2008 - 09:02:00 PST


Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!

This archive was generated 08-Feb-2012. Archive updated nightly.