Optimization: principles and algorithms, by Michel Bierlaire
Functions
machineEpsilon.m File Reference

Algorithm 7.1: calculation of the machine epsilon. More...

Go to the source code of this file.

Functions

function machineEpsilon ()
 Calculate the machine epsilon in single and double precision. More...
 

Detailed Description

Algorithm 7.1: calculation of the machine epsilon.

Implementation of algorithm 7.2 of [1]

Author
Michel Bierlaire
Date
Fri Mar 20 10:27:04 2015

Definition in file machineEpsilon.m.

Function Documentation

◆ machineEpsilon()

function machineEpsilon ( )

Calculate the machine epsilon in single and double precision.

Note
Tested with runMachineEpsilon.m
Returns
epss: single precision
epsd: double precision
Copyright 2015-2018 Michel Bierlaire