Changeset 9110891 in git
- Timestamp:
- Jul 3, 1998, 11:28:03 AM (25 years ago)
- Branches:
- (u'spielwiese', '6e12f9861a9fbafef8cfe9d754bf74a7d483a67b')
- Children:
- 901748b5e051a85324373e2f0e01998030ab4c89
- Parents:
- 4bc04786b1ef64a00975ef56179190359c009f74
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/ftest/divrem.m4
r4bc0478 r9110891 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: divrem.m4,v 1. 2 1998-04-06 10:49:31schmidt Exp $ */2 /* $Id: divrem.m4,v 1.3 1998-07-03 09:28:03 schmidt Exp $ */ 3 3 4 4 ftestSetNameOfGame( divrem, `" 5 5 Usage: divrem [<options>] [<envSpec>] <f> <g> [<divisionCheck>] 6 calculates quotient `q' and remainder `r'of division from6 calculates quotient q and remainder r of division from 7 7 canonical form <f> by canonical form <g> such that f=g*q+r. 8 <g> should not equal zero. The result is not defined if such 9 `q' and `r'do not exist.10 If the optional integer `divisionCheck'is specified and non-11 zero additional checks are done whether `q' and `r'exist. The8 <g> should not equal zero. The result is not defined if such q 9 and r do not exist. 10 If the optional integer <divisionCheck> is specified and non- 11 zero additional checks are done whether q and r exist. The 12 12 result of the check is printed as a boolean. 13 The results are printed in the order `q' - `r' [ - `checkResult'].13 The results are printed in the order q - r [ - checkResult ]. 14 14 "'`' ) 15 15 … … 106 106 107 107 // do the check 108 ftestCheck( 109 divremCheck( f, g, q, r, checkResult ); ); 108 ftestCheck( divremCheck( f, g, q, r, checkResult ); ); 110 109 111 110 // print results
Note: See TracChangeset
for help on using the changeset viewer.