Artifact 624f8a3262ed6d134da88546a20ef844b516a4ee2af4053eca31aa31c80ecc64:
- Executable file
r37/packages/alg/numsup.red
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 647) [annotate] [blame] [check-ins using] [more...]
- Executable file
r38/packages/alg/numsup.red
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 647) [annotate] [blame] [check-ins using]
module numsup; % Numerical support for basic algebra package. % Author: Anthony C. Hearn. % Copyright (c) 1991 The RAND Corporation. All rights reserved. % Numerical greatest common divisor. symbolic procedure gcdn(u,v); % U and v are integers. Value is absolute value of gcd of u and v. if v = 0 then abs u else gcdn(v,remainder(u,v)); % Interface to rounded code. % Only needed if package ARITH is autoloaded. % switch rounded; % put('rounded,'package!-name,'arith); % put('rounded,'simpfg, % '((t (load!-package 'arith) (setdmode 'rounded t)))); % Enough for now. endmodule; end;