
Go to the source code of this file.
Classes | |
| struct | IeeeDoubleStruct |
| struct | IeeeNanStruct |
| union | EpTypeUnion |
| struct | EpDoubleStruct |
Macros | |
| #define | EPD_MAX_BIN 1023 |
| #define | EPD_MAX_DEC 308 |
| #define | EPD_EXP_INF 0x7ff |
Typedefs | |
| typedef struct EpDoubleStruct | EpDouble |
| typedef struct IeeeDoubleStruct | IeeeDouble |
| typedef struct IeeeNanStruct | IeeeNan |
| typedef union EpTypeUnion | EpType |
| #define EPD_MAX_BIN 1023 |
CHeaderFile*****************************************************************
FileName [epd.h]
PackageName [epd]
Synopsis [The University of Colorado extended double precision package.]
Description [arithmetic functions with extended double precision.]
SeeAlso []
Author [In-Ho Moon]
Copyright [Copyright (c) 1995-2004, Regents of the University of Colorado
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of the University of Colorado nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.]
Revision [
]
| typedef struct EpDoubleStruct EpDouble |
| typedef union EpTypeUnion EpType |
| typedef struct IeeeDoubleStruct IeeeDouble |
| typedef struct IeeeNanStruct IeeeNan |
|
extern |
Function********************************************************************
Synopsis [Adds two arbitrary precision double values.]
Description [Adds two arbitrary precision double values.]
SideEffects []
SeeAlso []
Definition at line 536 of file epd.c.

Function********************************************************************
Synopsis [Adds two arbitrary precision double values.]
Description [Adds two arbitrary precision double values.]
SideEffects []
SeeAlso []
Definition at line 598 of file epd.c.

Function********************************************************************
Synopsis [Adds two arbitrary precision double values.]
Description [Adds two arbitrary precision double values.]
SideEffects []
SeeAlso []
Definition at line 660 of file epd.c.

|
extern |
AutomaticStart
CFile***********************************************************************
FileName [epd.c]
PackageName [epd]
Synopsis [Arithmetic functions with extended double precision.]
Description []
SeeAlso []
Author [In-Ho Moon]
Copyright [Copyright (c) 1995-2004, Regents of the University of Colorado
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of the University of Colorado nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.]
Revision [
] Function********************************************************************
Synopsis [Allocates an EpDouble struct.]
Description [Allocates an EpDouble struct.]
SideEffects []
SeeAlso []
|
extern |
Function********************************************************************
Synopsis [Converts double to EpDouble struct.]
Description [Converts double to EpDouble struct.]
SideEffects []
SeeAlso []
Definition at line 185 of file epd.c.


|
extern |
Function********************************************************************
Synopsis [Divides two arbitrary precision double values.]
Description [Divides two arbitrary precision double values.]
SideEffects []
SeeAlso []
Definition at line 386 of file epd.c.

Function********************************************************************
Synopsis [Divides two arbitrary precision double values.]
Description [Divides two arbitrary precision double values.]
SideEffects []
SeeAlso []
Definition at line 439 of file epd.c.

Function********************************************************************
Synopsis [Divides two arbitrary precision double values.]
Description [Divides two arbitrary precision double values.]
SideEffects []
SeeAlso []
Definition at line 490 of file epd.c.

|
extern |
|
extern |
Function********************************************************************
Synopsis [Returns the exponent value of a double.]
Description [Returns the exponent value of a double.]
SideEffects []
SeeAlso []
Definition at line 1068 of file epd.c.

|
extern |
Function********************************************************************
Synopsis [Returns the decimal exponent value of a double.]
Description [Returns the decimal exponent value of a double.]
SideEffects []
SeeAlso []
Definition at line 1091 of file epd.c.


|
extern |
Function********************************************************************
Synopsis [Converts an arbitrary precision double value to a string.]
Description [Converts an arbitrary precision double value to a string.]
SideEffects []
SeeAlso []
Definition at line 135 of file epd.c.

|
extern |
Function********************************************************************
Synopsis [Returns value and decimal exponent of EpDouble.]
Description [Returns value and decimal exponent of EpDouble.]
SideEffects []
SeeAlso []
Definition at line 1034 of file epd.c.


|
extern |
Function********************************************************************
Synopsis [Checks whether the value is Inf.]
Description [Checks whether the value is Inf.]
SideEffects []
SeeAlso []
Definition at line 1201 of file epd.c.


|
extern |
Function********************************************************************
Synopsis [Checks whether the value is NaN.]
Description [Checks whether the value is NaN.]
SideEffects []
SeeAlso []
Definition at line 1240 of file epd.c.


|
extern |
Function********************************************************************
Synopsis [Checks whether the value is NaN or Inf.]
Description [Checks whether the value is NaN or Inf.]
SideEffects []
SeeAlso []
Definition at line 1258 of file epd.c.


|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Function********************************************************************
Synopsis [Multiplies two arbitrary precision double values.]
Description [Multiplies two arbitrary precision double values.]
SideEffects []
SeeAlso []
Definition at line 205 of file epd.c.

Function********************************************************************
Synopsis [Multiplies two arbitrary precision double values.]
Description [Multiplies two arbitrary precision double values.]
SideEffects []
SeeAlso []
Definition at line 246 of file epd.c.

Function********************************************************************
Synopsis [Multiplies two arbitrary precision double values.]
Description [Multiplies two arbitrary precision double values.]
SideEffects []
SeeAlso []
Definition at line 285 of file epd.c.


Function********************************************************************
Synopsis [Multiplies two arbitrary precision double values.]
Description [Multiplies two arbitrary precision double values.]
SideEffects []
SeeAlso []
Definition at line 321 of file epd.c.


Function********************************************************************
Synopsis [Multiplies two arbitrary precision double values.]
Description [Multiplies two arbitrary precision double values.]
SideEffects []
SeeAlso []
Definition at line 355 of file epd.c.


|
extern |
Function********************************************************************
Synopsis [Normalize an arbitrary precision double value.]
Description [Normalize an arbitrary precision double value.]
SideEffects []
SeeAlso []
Definition at line 977 of file epd.c.


|
extern |
Function********************************************************************
Synopsis [Normalize an arbitrary precision double value.]
Description [Normalize an arbitrary precision double value.]
SideEffects []
SeeAlso []
Definition at line 1007 of file epd.c.


|
extern |
Function********************************************************************
Synopsis [Computes arbitrary precision pow of base 2.]
Description [Computes arbitrary precision pow of base 2.]
SideEffects []
SeeAlso []
Definition at line 917 of file epd.c.


|
extern |
Function********************************************************************
Synopsis [Computes arbitrary precision pow of base 2.]
Description [Computes arbitrary precision pow of base 2.]
SideEffects []
SeeAlso []
Definition at line 946 of file epd.c.


|
extern |
Function********************************************************************
Synopsis [Subtracts two arbitrary precision double values.]
Description [Subtracts two arbitrary precision double values.]
SideEffects []
SeeAlso []
Definition at line 726 of file epd.c.

Function********************************************************************
Synopsis [Subtracts two arbitrary precision double values.]
Description [Subtracts two arbitrary precision double values.]
SideEffects []
SeeAlso []
Definition at line 788 of file epd.c.

Function********************************************************************
Synopsis [Subtracts two arbitrary precision double values.]
Description [Subtracts two arbitrary precision double values.]
SideEffects []
SeeAlso []
Definition at line 850 of file epd.c.

|
extern |
Function********************************************************************
Synopsis [Checks whether the value is Inf.]
Description [Checks whether the value is Inf.]
SideEffects []
SeeAlso []
Definition at line 1276 of file epd.c.

|
extern |
Function********************************************************************
Synopsis [Checks whether the value is NaN.]
Description [Checks whether the value is NaN.]
SideEffects []
SeeAlso []
Definition at line 1305 of file epd.c.

|
extern |
Function********************************************************************
Synopsis [Checks whether the value is NaN or Inf.]
Description [Checks whether the value is NaN or Inf.]
SideEffects []
SeeAlso []
Definition at line 1333 of file epd.c.
