GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
d1mach-tst.for
Go to the documentation of this file.
1 c Copyright (C) 1996-2018 John W. Eaton
2 c
3 c This file is part of Octave.
4 c
5 c Octave is free software: you can redistribute it and/or modify it
6 c under the terms of the GNU General Public License as published by
7 c the Free Software Foundation, either version 3 of the License, or
8 c (at your option) any later version.
9 c
10 c Octave is distributed in the hope that it will be useful, but
11 c WITHOUT ANY WARRANTY; without even the implied warranty of
12 c MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 c GNU General Public License for more details.
14 c
15 c You should have received a copy of the GNU General Public License
16 c along with Octave; see the file COPYING. If not, see
17 c <https://www.gnu.org/licenses/>.
18 c
19  program main
20  integer i
21  double precision d1mach
22  double precision t1, t2
23  do 10 i = 1, 5
24  print *, d1mach(i)
25  10 continue
26  end
int main(int argc, char **argv)
Definition: main-cli.cc:83
double precision function d1mach(i)
Definition: d1mach.f:20