From: Arthur Breitman <arthur.breitman@gmail.com>
To: caml-list <caml-list@inria.fr>
Subject: [Caml-list] How standard is exponentiation in ocaml?
Date: Wed, 4 Jun 2014 16:21:19 -0400 [thread overview]
Message-ID: <CAAYUt0N42XZXHduK=W4yrn7bS+CxHCqmpbgjgZcB70zV6X=T9w@mail.gmail.com> (raw)
In-Reply-To: <CAAYUt0OGyp35f-aDtCsQy2OQH1JrHJUp1GBUiUPEkBrwFth5xg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 393 bytes --]
Hello,
How standard is exponentiation in ocaml?
Specifically, is the result of
(**): float -> float -> float
guaranteed to be the same for the same input regardless of the compiler's
version?
Are any number of digits guaranteed to be correct? In which case I could
truncate.
I do not care too much about exactitude, but I need the operation's
semantic to be exactly defined.
Best,
Arthur
[-- Attachment #2: Type: text/html, Size: 517 bytes --]
next parent reply other threads:[~2014-06-04 20:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAAYUt0N47wkUfWvbg35+Rdu-wwmw2yRTGU41KYh=U0Kc=61=SQ@mail.gmail.com>
[not found] ` <CAAYUt0OGyp35f-aDtCsQy2OQH1JrHJUp1GBUiUPEkBrwFth5xg@mail.gmail.com>
2014-06-04 20:21 ` Arthur Breitman [this message]
2014-06-04 21:03 ` Jacques-Henri Jourdan
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='CAAYUt0N42XZXHduK=W4yrn7bS+CxHCqmpbgjgZcB70zV6X=T9w@mail.gmail.com' \
--to=arthur.breitman@gmail.com \
--cc=caml-list@inria.fr \
/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