From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 8C6607F8F2 for ; Wed, 4 Jun 2014 22:21:20 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of arthur.breitman@gmail.com) identity=pra; client-ip=209.85.212.177; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="arthur.breitman@gmail.com"; x-sender="arthur.breitman@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of arthur.breitman@gmail.com designates 209.85.212.177 as permitted sender) identity=mailfrom; client-ip=209.85.212.177; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="arthur.breitman@gmail.com"; x-sender="arthur.breitman@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-wi0-f177.google.com) identity=helo; client-ip=209.85.212.177; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="arthur.breitman@gmail.com"; x-sender="postmaster@mail-wi0-f177.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmYBAAh/j1PRVdSxlGdsb2JhbABZhDGCbMAIAYEJCBYOAQEBAQcLCwkSKoIcCgEBBBIRBBkBGx4DDAYIAQc3AgIiAREBBQEcBjWICwEDEaATaosngXKDDZoHChknDWSFKREBBQyOTYJ1gUsEmhORSBgphQQh X-IPAS-Result: AmYBAAh/j1PRVdSxlGdsb2JhbABZhDGCbMAIAYEJCBYOAQEBAQcLCwkSKoIcCgEBBBIRBBkBGx4DDAYIAQc3AgIiAREBBQEcBjWICwEDEaATaosngXKDDZoHChknDWSFKREBBQyOTYJ1gUsEmhORSBgphQQh X-IronPort-AV: E=Sophos;i="4.98,975,1392159600"; d="scan'208";a="78103403" Received: from mail-wi0-f177.google.com ([209.85.212.177]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 04 Jun 2014 22:21:20 +0200 Received: by mail-wi0-f177.google.com with SMTP id f8so2221159wiw.4 for ; Wed, 04 Jun 2014 13:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=VwKBQuYXzw0puGXrgFYxfUTl60i1AEh/QQZPU4BnM88=; b=LHL5oTrlAImRB10T0RQH/yggfU+/YRj+kT+DnOBHYE38s5aPXb945Ju5y97CPsevnF 98R/huqjsO/a4mOrGnKoFW2NI+5L7SRzfhWnBQU00hnm4D8zh9gFYkVzQSbBCOJtyIlC Ahq1gathUg6YHTCJyDrG6a9WidwfBfvaJAeNSbddH6uvoRhkxvr3qPzlEpgcBtLD2COI WGiUKdhdB0R9iuTbHklGGShlo/8vGL4awPSAMGBrRX3r4dbS8EhtC22uypvNB6ZNYxlU 1FFYqp3vTaLOkXk081np+Wr/Ezd3SpXFfbkH/wV4+YC6LAqq62SNyG99imX3EbKVKhaH 67sw== MIME-Version: 1.0 X-Received: by 10.194.175.106 with SMTP id bz10mr8275693wjc.96.1401913279938; Wed, 04 Jun 2014 13:21:19 -0700 (PDT) Received: by 10.194.71.18 with HTTP; Wed, 4 Jun 2014 13:21:19 -0700 (PDT) Received: by 10.194.71.18 with HTTP; Wed, 4 Jun 2014 13:21:19 -0700 (PDT) In-Reply-To: References: Date: Wed, 4 Jun 2014 16:21:19 -0400 Message-ID: From: Arthur Breitman To: caml-list Content-Type: multipart/alternative; boundary=089e01419d920e86e104fb085fe0 Subject: [Caml-list] How standard is exponentiation in ocaml? --089e01419d920e86e104fb085fe0 Content-Type: text/plain; charset=UTF-8 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 --089e01419d920e86e104fb085fe0 Content-Type: text/html; charset=UTF-8

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

--089e01419d920e86e104fb085fe0--