# OpenMath Content Dictionary: bigfloat1

Canonical URL:
http://www.openmath.org/cd/bigfloat1.ocd
CD Base:
http://www.openmath.org/cd
CD File:
bigfloat1.ocd
CD as XML Encoded OpenMath:
bigfloat1.omcd
Defines:
bigfloat, bigfloatprec
Date:
2004-03-30
Version:
3 (Revision 1)
Review Date:
2006-03-30
Status:
official


This document is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The copyright holder grants you permission to redistribute this
document freely as a verbatim copy. Furthermore, the copyright
holder permits you to develop any derived work from this document
provided that the following conditions are met.
a) The derived work acknowledges the fact that it is derived from
this document, and maintains a prominent reference in the
work to the original source.
b) The fact that the derived work is not the original OpenMath
document is stated prominently in the derived work.  Moreover if
both this document and the derived work are Content Dictionaries
then the derived work must include a different CDName element,
chosen so that it cannot be confused with any works adopted by
the OpenMath Society.  In particular, if there is a Content
Dictionary Group whose name is, for example, math' containing
Content Dictionaries named math1', math2' etc., then you should
not name a derived Content Dictionary mathN' where N is an integer.
However you are free to name it private_mathN' or some such.  This
is because the names mathN' may be used by the OpenMath Society
for future extensions.
compilation of derived works, but keep paragraphs a) and b)
intact.  The simplest way to do this is to distribute the derived
work under the OpenMath license, but this is not a requirement.
society at http://www.openmath.org.

  Author: OpenMath Consortium
SourceURL: https://github.com/OpenMath/CDs


This CD provides a common representation of "bigfloats" in a mantissa/ radix/exponent format. There is a further version, which provides an opportunity to state a precision (only required in a different radix). No operations are defined here -- see arith and alg.

Written by James Davenport on 1999-07-13.


## bigfloat

Role:
application
Description:

The bigfloat constructor takes three arguments, a mantissa, a base and the exponent.

Commented Mathematical property (CMP):
bigfloat(m,r,e)=m*r^e
Formal Mathematical property (FMP):
$m×{r}^{e}=m{r}^{e}$
Signatures:
sts

 [Next: bigfloatprec] [Last: bigfloatprec] [Top]

## bigfloatprec

Role:
application
Description:

The bigfloat "with precision specified in (another) radix" constructor. Takes 3 arguments, the first argument is a floating point number constructed with the bigfloat constructor, the second is the new radix, whilst the third specifies how many digits are significant.

Commented Mathematical property (CMP):
bigfloatprec(f,r,p)=f However, if converted to radix r, only p digits in that radix are significant. This usually means that it originated in radix r, and has since (e.g. for display purposes) been converted into its current radix. For exposition, f = m*r^e.
Formal Mathematical property (FMP):
$\mathrm{bigfloatprec}\left(m×{r}^{e},r,\mathrm{ceiling}\left({\mathrm{log}}_{r}\left(m\right)\right)\right)=m×{r}^{e}$
Signatures:
sts

 [First: bigfloat] [Previous: bigfloat] [Top]