9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Rob Pike <robpike@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] dc(1) exponent limits
Date: Tue, 17 Dec 2019 09:47:47 +1100	[thread overview]
Message-ID: <CAKzdPgyAwr8dj8ux9ndAp6E+wptgiX-1KdpTJBDEnn7-Ykmbug@mail.gmail.com> (raw)
In-Reply-To: <CAKzdPgw54qzwJksTfMvCGvu=0L_V1jUFWSToB-oOvCPOOS0hyA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 464 bytes --]

In case it's not clear, those calculations are integral, only the
presentation looks like floats.

-rob


On Tue, Dec 17, 2019 at 9:46 AM Rob Pike <robpike@gmail.com> wrote:

> % ivy
> 652342**52342
> 1.85475753442e+304341
>
> )cpu
> 8.291ms
>
> (652342**52342)/34232342
> 9.27378767209e+304340/17116171
>
> )cpu
> 9.217ms
>
> float _
> 5.41814385477e+304333
>
>
> 50 minutes feels excessive; dc seems to work very hard.
>
> -rob
>
>

[-- Attachment #2: Type: text/html, Size: 861 bytes --]

  reply	other threads:[~2019-12-16 22:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-16 21:41 Lyndon Nerenberg
2019-12-16 22:46 ` [9fans] " Rob Pike
2019-12-16 22:47   ` Rob Pike [this message]
2019-12-17  2:28   ` Bakul Shah
2019-12-17  2:53     ` Bakul Shah

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=CAKzdPgyAwr8dj8ux9ndAp6E+wptgiX-1KdpTJBDEnn7-Ykmbug@mail.gmail.com \
    --to=robpike@gmail.com \
    --cc=9fans@9fans.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.
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).