Extreme Optimization –Mathematical Constants and Basic Functions

Posted by JoshReuben on Geeks with Blogs See other posts from Geeks with Blogs or by JoshReuben
Published on Fri, 07 Jan 2011 07:57:19 GMT Indexed on 2011/01/07 8:54 UTC
Read the original article Hit count: 342

Filed under:

Machine constants

  • The MachineConstants class - contains constants for floating-point arithmetic because the CLS System.Single and Double floating-point types do not follow the standard conventions and are useless. machine constants for the Double type:
    • machine precision: Epsilon , SqrtEpsilon CubeRootEpsilon
    • largest possible value: MaxDouble , SqrtMaxDouble, LogMaxDouble
    • smallest Double-precision floating point number that is greater than zero: MinDouble , SqrtMinDouble , LogMinDouble
  • A similar set of constants is available for the Single Datatype

 

Mathematical Constants

 

Elementary Functions

© Geeks with Blogs or respective owner