ComputerArithmetic`
ComputerArithmetic`

MicroscopePlot

MicroscopePlot[f,{x,a}]

plots the expression f in a small neighborhood of a using machine arithmetic.

MicroscopePlot[f,{x,a,n}]

plots f from a-n ulps to a+n ulps.

Details and Options

  • To use MicroscopePlot, you first need to load the Computer Arithmetic Package using Needs["ComputerArithmetic`"].
  • The following option can be given:
  • JoinedTruewhether to join points
  • Valid settings for Joined are True, False, and Real.
  • With the setting Joined->Real, the line joining the plot points represents the mapping from the set of real numbers to the set of machine-number outputs.