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

Change language to:
English - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Aide de Scilab >> Scilab > Variables > Constantes > %eps

%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 Feb 12 19:15:24 CET 2018