Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2023.0.0 - English


%eps

epsilon (floating-point relative accuracy)

Syntax

%eps

Description

%eps is a predefined variable, %eps = 2^(-52) .

Calculations are not exact but performed for a given precision, Scilab uses the IEEE 754 standard.

Example

mw = format();
%eps
format(21);
1 + %eps
1 + (%eps / 2) == 1
format(mw([2 1]));

See also

  • format — set the default output format of decimal numbers
Report an issue
<< %e Constants %f or %F >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Mar 27 11:52:41 GMT 2023