From: Keith David Bershatsky <esq@lawlist.com>
To: Noam Postavsky <npostavs@users.sourceforge.net>
Cc: Alan Third <alan@idiocy.org>, emacs-devel@gnu.org
Subject: Re: How to use a float value with either GLYPH_DEBUG or NSTRACE
Date: Mon, 21 Aug 2017 14:45:34 -0700 [thread overview]
Message-ID: <m2valg4mtd.wl%esq@lawlist.com> (raw)
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 <npostavs@users.sourceforge.net>
>
> * * *
>
> 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
next reply other threads:[~2017-08-21 21:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-21 21:45 Keith David Bershatsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-08-22 17:04 How to use a float value with either GLYPH_DEBUG or NSTRACE Keith David Bershatsky
2017-08-22 4:30 Keith David Bershatsky
2017-08-22 8:23 ` Anders Lindgren
2017-08-22 11:32 ` Noam Postavsky
2017-08-22 11:51 ` Anders Lindgren
2017-08-22 15:47 ` Paul Eggert
2017-08-21 20:51 Keith David Bershatsky
2017-08-21 21:30 ` Noam Postavsky
2017-08-21 23:55 ` Paul Eggert
2017-08-21 17:07 Keith David Bershatsky
2017-08-21 20:07 ` Alan Third
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2valg4mtd.wl%esq@lawlist.com \
--to=esq@lawlist.com \
--cc=alan@idiocy.org \
--cc=emacs-devel@gnu.org \
--cc=npostavs@users.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.