Format fix 2004/hoyle/README.md
This commit is contained in:
1 parent
b9363b039b
commit
60e9d4210f
1 file changed
+19
-22
+19
-22
@@ -1,11 +1,8 @@
|
||||
# Most Functional Output
|
||||
|
||||
Jonathan Hoyle
|
||||
162 Burwyck Park
|
||||
Saline, MI 48176
|
||||
US
|
||||
|
||||
http://www.jonhoyle.com
|
||||
Jonathan Hoyle
|
||||
US
|
||||
<http://www.jonhoyle.com>
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -29,8 +26,8 @@ make
|
||||
|
||||
### Alternate code
|
||||
|
||||
An alternate version of this entry, `hoyle.alt.c`, is provided. This alternate code
|
||||
has a missing newline and used a non-standard tab stop size.
|
||||
An alternate version of this entry, [hoyle.alt.c](hoyle.alt.c), is provided.
|
||||
This alternate code has a missing newline and used a non-standard tab stop size.
|
||||
|
||||
To compile this alternate version:
|
||||
|
||||
@@ -40,29 +37,29 @@ make alt
|
||||
|
||||
Use `hoyle.alt.c` as you would `hoyle` above.
|
||||
|
||||
## Judges' remarks
|
||||
## Judges' remarks:
|
||||
|
||||
This obfuscation functions at several levels. Note the clever
|
||||
use of use of #defines. The do(if,else) #define, for example,
|
||||
use of use of `#define`s. The `#define do(if,else)`, for example,
|
||||
is delightful. The code itself contains a bunch of curves
|
||||
designed to throw you off axis. :-)
|
||||
|
||||
## Author's remarks
|
||||
## Author's remarks:
|
||||
|
||||
This application graphs polynomials on a standard Cartesian coordinate
|
||||
system. Polynomials of the form ax^0 + bx^1 + cx^2 + ... are graphed by
|
||||
passing the coefficients a, b, c, etc. as double precision arguments.
|
||||
It allows up to 8 parameters (thus up to x^7).
|
||||
This application graphs polynomials on a standard Cartesian coordinate system.
|
||||
Polynomials of the form `ax^0 + bx^1 + cx^2 +` ... are graphed by passing the
|
||||
coefficients `a`, `b`, `c`, etc. as double precision arguments. It allows up to
|
||||
8 parameters (thus up to `x^7`).
|
||||
|
||||
Points of note:
|
||||
### Points of note:
|
||||
|
||||
- the x axis goes from -32 to +31
|
||||
- the y axis auto scales!
|
||||
- up to 8 coefficients may be passed in
|
||||
- the [x axis](https://mathworld.wolfram.com/x-Axis.html) goes from `-32` to `+31`
|
||||
- the [y axis](https://mathworld.wolfram.com/y-Axis.html) auto scales!
|
||||
- up to 8 [coefficients](https://en.wikipedia.org/wiki/Coefficient) may be passed in
|
||||
- the graph will determine direction and use slashes and
|
||||
dashes rather than simple block X's.
|
||||
dashes rather than simple block `X`s.
|
||||
|
||||
For example, ta graph y = x^2:
|
||||
For example, ta graph `y = x^2`:
|
||||
|
||||
```sh
|
||||
./hoyle 0 0 1
|
||||
@@ -74,7 +71,7 @@ Note that:
|
||||
./hoyle 0 0 2
|
||||
```
|
||||
|
||||
will produce the same graph, since the y-axis is auto scaling.
|
||||
will produce the same graph, since the `y-axis` is auto scaling.
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
|
||||
Reference in new issue
Block a user