<div dir="ltr">On Tue, Feb 5, 2013 at 6:04 PM, yi lu <span dir="ltr">&lt;<a href="mailto:zhiwudazhanjiangshi@gmail.com" target="_blank">zhiwudazhanjiangshi@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thanks!<div>I&#39;ll try CReal.<br><div>But can I set <strong style="font-size:13px;font-weight:normal;color:rgb(204,0,0);font-family:Arial,Helvetica,sans-serif;line-height:18px">significant figures </strong><strong style="font-size:13px;font-weight:normal;font-family:Arial,Helvetica,sans-serif;line-height:18px"><font color="#000000">myself?</font></strong></div>
</div></div></blockquote><div><br></div><div>You can&#39;t change ghci&#39;s output format, but you can do your own output instead of relying on ghci&#39;s.  <a href="http://hackage.haskell.org/packages/archive/base/latest/doc/html/Text-Printf.html">http://hackage.haskell.org/packages/archive/base/latest/doc/html/Text-Printf.html</a> might be of interest, or doing it manually with scaling and Prelude.round.</div>
<div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div>