zsh-users
 help / color / mirror / code / Atom feed
* loooong number
@ 2022-07-05 15:19 Ray Andrews
  2022-07-05 15:27 ` Dominik Vogt
  0 siblings, 1 reply; 4+ messages in thread
From: Ray Andrews @ 2022-07-05 15:19 UTC (permalink / raw)
  To: Zsh Users

Gentlemen:

I don't think zsh can do this but she does amaze very often so I'll ask:

My sister is memorizing Euler's number, she's at 200 digits and 
climbing.  She wants me to print it off in blocks of four digits. I 
can't find exactly that format online.  Now, the formula for the number 
is easy but the output of course is going to be a floating point number 
of 200 and counting digits which of course zsh can't handle.  But it 
occurred to me that if the digits could be computed one at a time (as we 
can do for pi), then the output could be treated as a simple string to 
which digits are added indefinitely.  I guess this is really a 
mathematical question, strictly speaking, but somebody might know.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-05 15:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-05 15:19 loooong number Ray Andrews
2022-07-05 15:27 ` Dominik Vogt
2022-07-05 15:37   ` Dominik Vogt
2022-07-05 15:37   ` Ray Andrews

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).