Files
Landon Curt Noll 09750f8899 release winning entries of IOCCC28 under the year 2024
Congratulations to:

* 2024/anders - Prize in sound coding - layered music generator
* 2024/burton - Prize in pentagrammatology - wordle hard mode solver
* 2024/cable1 - Prize in bot talk - LLM inference engine
* 2024/cable2 - Prize in murky waters - salmon recipe
* 2024/carlini - Prize in perfect timing - Intel 4004 emulation
* 2024/codemeow - Prize in tray planting - bonsai generator
* 2024/endoh1 - Prize in patient pointillism - slow ray tracer in CPP
* 2024/endoh2 - Prize in solid body physics - rotating rigid body simulation
* 2024/ferguson1 - Prize in diabolical logistics - Oregon trail pact with the devil
* 2024/ferguson2 - Prize in yil-tas - Navajo code talker translator
* 2024/howe - Nice accent eh-ward - mini vi
* 2024/kramer - Prize in linguistic arithmetic - natural language numerical calculator
* 2024/kurdyukov1 - Prize in phased periodicity - phase of the Moon
* 2024/kurdyukov2 - Prize in art restoration - JPEG artifact removal
* 2024/kurdyukov3 - Prize in virtual quietus - gaming VM and doom
* 2024/kurdyukov4 - Prize in embiggening - encode without literals
* 2024/maffiodo - Prize in creative interpretation - Jav\*script interpreter
* 2024/mills - Prize in ℤ₃ - Infocom v3 story interpreter
* 2024/stedolan - Best one liner - icon from MD5
* 2024/straadt - Prize in imitative rebooting - OpenRISC CPU and Linux
* 2024/tmarrec - Prize in cyclonic coding - 3D tornado simulation
* 2024/tompng - Prize in quasi bijection - vortex encryptor decryptor
* 2024/weaver - Sur prize - rickroll

Ran `make update` to perform the above.
 	new file:   2024/burton/.entry.json
2025-08-02 14:43:07 -07:00

44 lines
767 B
JavaScript

var Math = {};
Math.E = 2.718281828459045;
Math.e = Math.E;
Math.LN2 = 0.6931471805599453;
Math.LN10 = 2.302585092994046;
Math.LOG2E = 1.4426950408889634;
Math.LOG10E = 0.4342944819032518;
Math.phi = 1.618033988749895;
Math.PI = 3.141592653589793;
Math.pi = Math.PI;
Math.SQRT1_2 = 0.7071067811865476;
Math.SQRT2 = 1.4142135623730951;
Math.tau = 6.283185307179586;
Math.sign = function () {
var x = arguments[0];
//print("dbgsign?" + x + '\n');
if (x < 0) {
print("case0\n");
return -1;
}
return 1;
};
Math.abs = function () {
var x = arguments[0];
if (x < 0)
return -x;
return x;
};
if (test) {
print("pi = " + Math.pi + '\n');
print("sign(-32) = " + Math.sign(-32) + '\n');
print("abs(-32) = " + Math.abs(-32) + '\n');
}