Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.2 - Português

Change language to:
English - Français - 日本語 - Русский

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

Ajuda do Scilab >> Scilab > Variables > Constants > %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 — set the default output format of decimal numbers
Report an issue
<< %e Constants %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:
Thu Feb 14 15:00:35 CET 2019