Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - Français


%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 — configure le format par défaut d'affichage des nombres décimaux
Report an issue
<< %e Constantes %f or %F >>

Copyright (c) 2022-2024 (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 Jun 17 17:52:25 CEST 2024