emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use a float value with either GLYPH_DEBUG or NSTRACE


From: Keith David Bershatsky
Subject: Re: How to use a float value with either GLYPH_DEBUG or NSTRACE
Date: Mon, 21 Aug 2017 14:45:34 -0700

Thank you, Noam:

Yes, that works nicely to eliminate the extra zeros and it also lets me see 
several decimal places when they have a value.

Thank you also for the link to the floating point conversions page.

Greatly appreciated,

Keith

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

DATE:  [08-21-2017 14:30:52] <21 Aug 2017 17:30:52 -0400>
FROM:  Noam Postavsky <address@hidden>
> 
> * * *
> 
> I think `%.20g' should give you that (the max precision of double is
> about 17 decimal digits), although I would imagine that "the whole
> thing" is usually more than is really useful.
> 
> https://www.gnu.org/software/libc/manual/html_node/Floating_002dPoint-Conversions.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]