Bpp/Standard
Maths
C++
 
 
DESCRIPTION
 

This module provides common mathematical facilities.

 
SOURCE FILES
 

This section allows you to access the C++ source files of the module.

 
PARENT MODULE
 

This module is part of Bpp/Standard.

 
INCLUDED FILES
 

The files listed below are included in the interface part of the module. So any module dependent of this module is also dependent of the files listed here.

  • <cmath>

  • <cstdlib>

  • <bpp/standard/conversion.hpp>

  • <bpp/standard/string.hpp>

 
NEEDED FILES
 

The files listed below are needed by the implementation part of the module. But a module dependent of this module is not necessary dependent of the files listed here.

  • <bpp/modules.hpp>

 
INTEGRATED NAMESPACES
 

The namespaces listed below are integrated in this module. That means any element declared in one of those namespaces can now be directly used by or from this module.

  • standardConversion

  • standardString

 
TYPES
 

Here are listed the types defined in the module. To use one of them, you have to specify the namespace of the module.

  • enumeration { equal, inferior, superior } tyComparison
    Symbolic constants for element comparison.

  • type tyInteger tyMark
    A mark on an element.

 
ERRORS
 

Here are listed the errors that are supported or generated by the module. To use one of them, you do not have to specify the namespace of the module.

  • erCardinalOverflow
    The coding of cardinals is too small.

  • erEpsilonParameterMissing
    The 'epsilon' parameter is missing.

  • erIntegerOverflow
    The coding of integers is too small.

  • erInvalidBooleanString
    Invalid boolean string.

  • erInvalidCardinalString
    Invalid cardinal string.

  • erInvalidCharacterString
    Invalid character string.

  • erInvalidComparisonString
    Invalid comparison string.

  • erInvalidIntegerString
    Invalid integer string.

  • erInvalidPercentage
    The percentage is over a hundred.

  • erInvalidPointerString
    Invalid pointer string.

  • erInvalidRealString
    Invalid real string.

  • erZeroDivision
    Can not perform a division by zero.

 
CONSTANTS
 

Here are listed the constants provided by the module. To use one of them, you have to specify the namespace of the module.

  • tyReal epsilon()
    Maximum positive real number that is considered to be equal to zero. We call it the standard precision. It is the precision of the real numbers that is considered by the functions provided in this library.

  • tyMark firstMark()
    First element mark.

  • tyMark lastMark()
    Last element mark.

 
FUNCTIONS
 

Here are listed the functions provided by the module. To use one of them, you have to specify the namespace of the module.

 
 
Copyright (c) 1999-2016 - Bruno Bachelet - bruno@nawouak.net - http://www.nawouak.net
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. See this license for more details (http://www.gnu.org).