[Ns-bugs] [Bug 831] Insufficient numerical precision of timestamped simulation time in the ascii trace file (ns-3.7)

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Wed Apr 7 11:45:49 PDT 2010


http://www.nsnam.org/bugzilla/show_bug.cgi?id=831





--- Comment #1 from Craig Dowell <craigdo at ee.washington.edu>  2010-04-07 14:45:49 EDT ---

With the new tracing framework, a user can set the floating point precision of
the underlying stream to whatever is required.

  AsciiTraceHelper helper;
  Ptr<OutputStreamWrapper> stream = helper.CreateFileStream ("file");
  stream->GetStream ()->precision (8);

Does that meet your needs?

-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list