Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - 日本語 - Русский
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
Scilab Enterprises
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