Skip to main content Accessibility help
Internet Explorer 11 is being discontinued by Microsoft in August 2021. If you have difficulties viewing the site on Internet Explorer 11 we recommend using a different browser such as Microsoft Edge, Google Chrome, Apple Safari or Mozilla Firefox.

I: Constants, A Programming Module

I: Constants, A Programming Module

pp. 1294-1294

Authors

, Weber State University, Utah, , Weber State University, Utah
Resources available Unlock the full potential of this textbook with additional resources. There are free resources and Instructor restricted resources available for this textbook. Explore resources
  • Add bookmark
  • Cite
  • Share

Summary

Constants is a Fortran 95 module implementation of the astronomical and physical constants data given in Appendix A (a C++ header file version is also available). Constants also includes high-precision values of mathematical constants (π, e) and conversion factors between degrees and radians. In addition, Constants provides various machine constants characteristic of the particular platform that a code is running on. For example, in the Fortran 95 implementation, Constants includes machine-queried KIND designations for single, double, and quadruple precision, the smallest and largest numbers that can be represented by the computer for a specific precision, and the number of significant figures that can be represented for each level of precision.

Constants is employed by the other codes described in the appendices that follow. The source code is available for download from the resources tab on following

About the book

Access options

Review the options below to login to check your access.

Purchase options

eTextbook
US$105.00
Hardback
US$105.00

Have an access code?

To redeem an access code, please log in with your personal login.

If you believe you should have access to this content, please contact your institutional librarian or consult our FAQ page for further information about accessing our content.

Also available to purchase from these educational ebook suppliers