[CSC 335] Machine Epsilon in C++
Andrew J. Pounds
pounds_aj at mercer.edu
Mon Sep 9 12:06:57 EDT 2019
I was asked after class about a function in C++ to determine machine
epsilon. There is one available in the standard template library.
https://en.cppreference.com/w/cpp/types/numeric_limits/epsilon
I remember also being able to tease this out of the GSL and the Boost
library.
--
Andrew J. Pounds, Ph.D. (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Director of the Computational Science Program
Mercer University, Macon, GA 31207 (478) 301-5627
More information about the csc335
mailing list