Dec 062017
PC Magazine utilities for Vol. 10 Number 16. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
ATSAY | 1380 | 601 | deflated |
CALC.PAS | 7650 | 2097 | deflated |
COMMON.PAS | 4827 | 1629 | deflated |
DELBEFOR.BAT | 674 | 333 | deflated |
DIRANY.BAT | 741 | 305 | deflated |
EDIT.WPM | 9234 | 1778 | deflated |
EXAM.WPM | 3783 | 840 | deflated |
GETLEN.BAT | 563 | 267 | deflated |
HC.DOC | 2009 | 940 | deflated |
HC.EXE | 9040 | 4443 | deflated |
HC.PAS | 5127 | 1426 | deflated |
MENUDEMO.PAS | 588 | 287 | deflated |
MENUUNIT.PAS | 4406 | 1255 | deflated |
PCMFAT.EXE | 7120 | 4347 | deflated |
PCMFAT.PAS | 5851 | 1934 | deflated |
PINV.PRG | 3652 | 1286 | deflated |
POINT.CPP | 2145 | 652 | deflated |
POINT.H | 1469 | 493 | deflated |
READBOOT.EXE | 6400 | 3654 | deflated |
READBOOT.PAS | 3084 | 927 | deflated |
TRYPOINT.CPP | 1305 | 493 | deflated |
TRYPOINT.EXE | 58300 | 28936 | deflated |
TRYPUT.PRG | 1123 | 509 | deflated |
Download File VOL10N16.ZIP Here
Contents of the HC.DOC file
HUGECALC
Neil Rubenking September 24, 1991 (Utilities)
Purpose: A command-line calculator utility that can perform addition,
subtraction, multiplication, division, exponentiation, and factorial functions
on numbers with up to 254 significant digits.
Format: HC n operator [n]
Remarks: The n operand variables may consist of any string of digits up to
the 127-character maximum of the DOS command line. The operands must not
include commas or other formatting punctuation, and must be separated from the
command and the operator by at least one space. Two operands are required for
all operations except factorial. The operators recognized are +, -, *, /, ^,
and !.
When output to the screen (the default) or redirected to a printer or
other DOS device, HUGECALC prints the name of the function and inserts commas
at every three digits in the numeric result. If the output is redirected to a
file or piped to a program input, however, only the numeric result is sent.
Note that when it accepts input from a file or via a pipe, HUGECALC uses that
input as its first operand.
Example: If a program that prints 10,000 permutations a second is asked to
print all possible combinations of 13 characters, how long will it take? The
command
HC 13 ! | HC / 10000 | HC / 3600 | HC / 24
pipes the factorial of 13 (the possible combinations) to a second
instance of HC, which divides it by 10,000 (the permutations per second). The
result is piped to a third instance of HC, which divides it by 3600 (the
seconds in an hour), and finally to a fourth instance of HC, which divides it
by 24 (the hours in a day). The answer printed on the screen is:
QUOTIENT: 7
REMAINDER: 4,
that is, 7 days, 4 hours.
Note that all such chained calculations must be strictly sequential
and that parenthetical expressions are not supported.
Neil Rubenking September 24, 1991 (Utilities)
Purpose: A command-line calculator utility that can perform addition,
subtraction, multiplication, division, exponentiation, and factorial functions
on numbers with up to 254 significant digits.
Format: HC n operator [n]
Remarks: The n operand variables may consist of any string of digits up to
the 127-character maximum of the DOS command line. The operands must not
include commas or other formatting punctuation, and must be separated from the
command and the operator by at least one space. Two operands are required for
all operations except factorial. The operators recognized are +, -, *, /, ^,
and !.
When output to the screen (the default) or redirected to a printer or
other DOS device, HUGECALC prints the name of the function and inserts commas
at every three digits in the numeric result. If the output is redirected to a
file or piped to a program input, however, only the numeric result is sent.
Note that when it accepts input from a file or via a pipe, HUGECALC uses that
input as its first operand.
Example: If a program that prints 10,000 permutations a second is asked to
print all possible combinations of 13 characters, how long will it take? The
command
HC 13 ! | HC / 10000 | HC / 3600 | HC / 24
pipes the factorial of 13 (the possible combinations) to a second
instance of HC, which divides it by 10,000 (the permutations per second). The
result is piped to a third instance of HC, which divides it by 3600 (the
seconds in an hour), and finally to a fourth instance of HC, which divides it
by 24 (the hours in a day). The answer printed on the screen is:
QUOTIENT: 7
REMAINDER: 4,
that is, 7 days, 4 hours.
Note that all such chained calculations must be strictly sequential
and that parenthetical expressions are not supported.
December 6, 2017
Add comments