mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 21:04:32 +01:00
Juan: "Lo implementaría solo en math" (formulas of his own, not only the
factory ones).
MATH USER (firmware/src/math_user.c, new):
- The machine is JIANT BYTE's (its fvm.c, GPL-3.0, Juan's): the instructions
BYTE's compiler makes from a text, serialized, with BYTE's operator numbers
(FO_*) and meaning (FVM_OPS2 / FVM_OPS1, copied), run a sample at a time
(BYTE runs each instruction over a block). Every stateless instruction:
- INT (bytebeat): + - * / % & | ^ << >>, every comparison (unsigned and
signed), && ||, min max;
- FIX (floatbeat, Q16.16): MULF MULIF DIVF DIVFI MODF ITOF FTOI FLOOR;
- NEG NOT LNOT ABS, sin tri saw sqr rnd (both kinds), SAT (clip, cos
compile to these), ?: and the string tables;
- the variables t, w (FLOAT's phase), a (VAR's 1..16), n v (note,
velocity); BYTE's others read 0, as BYTE's own do where its host does
not make them.
Not here (refused when checked): ph() lp() hp() (a state per voice), eu(),
FUNC's calls and func{}. DIVF uses the divider and at most 16 steps (no
64-bit division linked); products through core.h's mul64.
- The bytes: [0] the type (bit 0 FIX) | 2 a table pool follows ([1] its
length 1..32, its bytes); then op | md << 6 each, md 0 the stack, 1 a
number (LEB128), 2 a variable (BYTE's FA_ / FU_ index), 3 t (no byte); TAB
its table as a number. At most 64 bytes (MU_MAX), a stack of 12 (BYTE's
FVM_DEPTH). B16 (65) and F43 (125) don't fit; every other of BYTE's 96
factory texts does (14 .. 63 B).
- Checked when it arrives (mu_check): every op known, its operand whole, the
stack never under 1 nor over 12, one left, a table inside its pool. The
machine itself stays inside its stack (16, indexed & 15) and its bytes
whatever they are (a set half-written while a block reads it); / and % by
0 give 0, shifts & 31.
- One a track (mu_c, 6 x 65 B). Played at ALGO USER: P_E2 stored -4 (-4 ..
-1), before B01 / F01. lofi_byte / lofi_float: case 63 (f = p >> 2,
unsigned) in their jump tables, so MATH's own formulas take no test a
sample (scene 0d's instructions below V10.8.74's).
- BYTE (WAVE 5, 7): the result's low byte, with VAR, MOTION, LOOP, BEND,
GRIT, CHIP, SYNC as MATH's own; a t already read is not read again (t
moves at ~8 kHz at C4).
- FLOAT (WAVE 6): BYTE's fvm_sample (FIX -1 .. 1; INT as bytebeat), w = x << 3,
BYTE's phase in Q16 turns.
- The knob: lofi_desc gives a track that holds a formula (or is at USER)
ALGO -4 .. 191, USER first (N_BYTEU / N_FLOATU: "USER\0" before B01 / F01
in PNE, 10 B); a track without one keeps 0 .. 191 exactly as before, so
DICE, the matrix and MIDI see the same ranges. params.c param_fit keeps
-4 .. 191 for MATH's ALGO when a project / preset / automation is read.
Limits (Juan: "cuidá la CPU"):
- read at most 11025 times a second, at every rate (VH_SH) and hold (GRIT,
4B/2): a bucket of two reads, so a t a little uneven under the cap is read
as it comes; past it the value read last. Below about F4 (t under 11 kHz)
BYTE wave is bit for bit BYTE's machine; above it, held.
- at most 4 voices of formulas of one's own sounding, every track's together
(voice.c mu_cap: a fifth fades the oldest out); the voice admission
(load_admit, measured) stays the backstop.
- one pass over at most 64 bytes a read, no loop but DIVF's 16 steps.
Storage:
- the project: FUNC's 'F' 'U' block after 'O' 'T' (the last: an older firmware
stops before it), each track's length and bytes, when one holds a formula;
checked again when read. proj_mu beside the project, not in it (the pool has
32 B to spare): proj_scratch, the firmware's one project_t, reads and writes it.
A project without the block loads none; CLEAR PROJECT clears them; UNDO and
backups carry them. An older firmware loads ALGO -4 as B01.
- a user preset keeps ALGO USER but not the formula (its 192-byte record has
~12 bytes spare): the track's formula plays.
- a song's sections share the formulas loaded (as VOICE's lyrics).
ALGO 128 .. 191 saved (a bug since p6): MATH's ALGO above 127 (B33 .. B48,
F33 .. F48) made every project save fail with SAVE FORMAT ERROR 4 (proj_pack
refused a value over 127) and a user preset load it as B01 (its byte read
-128 .. -65). proj_pack takes MATH's ALGO to 191; projects and user presets
read -128 .. -65 back as 128 .. 191 (math_user.c mu_algo_in), param_fit keeps
it. Not fixed (separate, older): FLOAT's ALGO B (P_E0) is clamped to CHIP's
0..3 when a project loads (F01 .. F01).
Editor protocol 1.5 (editor.c):
- FORMULA (100): track, op (0 query, 1 set + pack7 of the bytes, 2 clear) ->
track, rc (1: refused, the track's as it was), length, pack7. pack7 is
BACKUP_PUT's groups (ed_unpack7 / ed_bk_pack).
- INFO tag 45 02 64 12 ('E', before 'C'); 'C' 43 02 01 05.
- web/EDITOR_PROTOCOL.md "1.5" (also in the site's, wt-ed formula-work).
- The emulator (web/emu) needs nothing more: web_ed carries FORMULA, so the
editor's preview runs this machine.
The stop-side click (crash screen, UBOOT, update reset), commit 65691824 on
pop-fix, cherry-picked: fm1_audio_stop lowers PC6 first, keeps the DMA 5 ms
more, then stops (out of line); ota_commit stops the audio before its reset;
tests/audio_order_test.py (run_tests.sh). audio.c and the golden renders
unchanged.
Flash (V10.8.74: 96 B free; this work ~2.5 KB: the machine 1.7 KB, FORMULA
~0.35 KB, the project block ~0.3 KB, the ALGO fix and the descs ~0.15 KB, the
stop fix 54 B):
- MATH's 48 floatbeats (lofi_float) built for size: the sines a call each
instead of inlined, half its size, -1682 B.
- a block's control and once-an-event sound functions built for size, none in
HOT_FNS: the kit's sounds (dx_run_fx), the master's TAPE, a track's COMB,
the kit's bus, DRONE CLAY's composer, the punch-in lane's step; a quiet tail
looked for, a punch-in's SLICER let go, a fitted span, a punch-in slot, a
kit step's hit, a note's VEL and HUMAN, a key's MIDI out, MATH USER's cap.
- tools/size_fns.py: math_user.c in SIZE_FILES (its main-loop side).
Image 204 B free (584132 of 584336), BT 36 B free (73692 of 73728), RAM
.data+.bss 184 B free (98120 of 98304: the formulas 390 B, their project copy
390 B, the cores' voices 64 B), pool spare 8224 B, RAM code 40384 of 42496 B.
audio.c is V23's. REPIN=keep; a plain build passes; tools/audio_layout.txt
and audio_map.txt recorded.
CPU (tests/cpu_lines_test.py), each scene's worst block, core 0/core 1,
V10.8.74 -> V10.8.75 (both measured now):
101 78/44 -> 79/44 102 62/28 -> 62/28 103 85/14 -> 85/14
104 51/14 -> 51/14 105 66/42 -> 66/41 106 52/36 -> 52/36
107 63/11 -> 63/11 108 50/29 -> 51/29 0c 70/57 -> 69/58
0d 71/51 -> 71/52 0e -- -> 85/61
Instructions identical in 101 .. 108 and 0c; 0d's lower (135.5k / 160.4k ->
135.2k / 160.2k a block). The lines move by a few with the flash layout
(+-1 point, as before). New scenes: 0d the CPU TEST's song with its three
synths MATH (BYTEBEAT B02, MATH KEYS F28, MATH PAD F12: factory formulas,
what V10.8.74 runs too); 0e the same with the first two MATH USER (B03's
bytecode on BYTE, 37 B; F20's floatbeat in FIX on FLOAT, 63 B, the longest
of BYTE's factory ones that fit), their chords capped at four voices: +14 /
+9 points over 0d, opt-in.
Tests:
- tests/math_user_test.c (new, in the workflow and run_tests.sh):
- BYTE: the 135 formulas of tests/math_user_gold.h (BYTE's own
fvm_compile and fvm_run on BYTE's 96 factory texts and formulas of every
operator: tools/math_user_gold.c, built in a BYTE checkout, and
tools/math_user_gold.py) give BYTE's values, 3 x 4160 each; the two over
64 bytes refused;
- factory: MATH's own 47 bytebeats as bytecode give lofi_byte's values,
every a, 2^17 + random t;
- DIVF and MULF against 64-bit arithmetic, 2M random operands; BYTE's
operator numbers;
- check: lp ph eu, a push without a value, the stack under 1 / over 12 / two
left, a number cut short or of six bytes, a header bit, a table out of its
pool, 0 and 65 bytes refused; a refused set leaves the track's;
- fuzz: 400000 random and mutated inputs, checked and run, and 400000 run
unchecked (any length byte): no crash under ASan, 0.2 s;
- voice: B01's bytecode at ALGO USER renders B01 bit for bit at C4; the cap
holds at C7; FLOAT plays it; nine USER notes on three tracks: four sound;
- storage: a project with two formulas, ALGO USER and ALGO 150 packs,
loads, restores byte for byte; 'F' 'U' the last block; one without it
loads none; user presets keep ALGO 150 and USER; the knob: USER only
where a formula is.
- app_contract: INFO's 'E' 64 12 before 'C'; FORMULA's query, a set (pack7)
read back, a malformed one refused (rc 1, the track's kept), no reply for
track 9, a clear.
- project, descdump (identical to V10.8.74's), audio_order pass; editor_test
fails the same 6 checks as V10.8.74.
- The local workflow: steps 2 .. 29 pass, the emulator job included (emsdk
6.0.11: the wasm built, native-check, gen-web, resound-web, emu_test).
- The site's editor (wt-ed formula-work, not here): its FVM port of BYTE's
compiler gives BYTE's bytes for all 135, its math_test and
editor_browser_test pass against this commit's wasm (a formula sent to
track 4 with FORMULA, ALGO -4, read back).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
287 lines
29 KiB
C
287 lines
29 KiB
C
/* SPDX-License-Identifier: GPL-3.0-only
|
|
* Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) */
|
|
/* (V10.8.75) MATH USER's golden vectors, from JIANT BYTE's own formula machine (fvm.c, BYTE origin/main 1495526):
|
|
* each text compiled by BYTE's fvm_compile, its instructions serialized as math_user.c reads them, run by BYTE's
|
|
* fvm_run; hash: FNV-1a of the 4160 results at a = 1, 7, 16 (tests/math_user_test.c says how t and w go). The 48 BYTE
|
|
* and 48 FLOAT factory formulas (fvm_bank.c: MATH's own as text), then formulas of every operator. Generated by
|
|
* tools/math_user_gold.c and tools/math_user_gold.py: do not edit */
|
|
typedef struct { const char *src; uint8_t n, ty; const uint8_t *code; uint32_t h[3]; } mu_gold_t;
|
|
static const uint8_t MUG_0[] = {0,244,34,73,2,244,73,10,69,7,194,69,127,244,73,14,69,5,64,2,194,69,245,1,10,2};
|
|
static const uint8_t MUG_1[] = {0,244,73,10,69,5,71,1,64,3,244,73,14,69,3,64,5,2,194,244,73,8,69,3,9};
|
|
static const uint8_t MUG_2[] = {0,244,33,69,255,31,244,73,13,197,194,69,255,1,2,73,12,244,73,8,69,234,1,244,73,3,5,194,244,73,14,69,3,9,69,127,0};
|
|
static const uint8_t MUG_3[] = {0,244,73,9,244,73,9,65,1,7,71,1,68,13,194};
|
|
static const uint8_t MUG_4[] = {0,244,73,13,244,68,24,6,244,73,7,244,68,19,6,5,72,3};
|
|
static const uint8_t MUG_5[] = {0,244,73,15,70,1,192,199,244,65,128,10,199,73,10,7,194};
|
|
static const uint8_t MUG_6[] = {0,116,152,149,3,244,73,9,69,14,9,69,15,194,244,73,8,6};
|
|
static const uint8_t MUG_7[] = {0,244,73,8,244,73,9,6,194,69,46,244,73,8,5,244,73,13,197,244,73,6,6,7};
|
|
static const uint8_t MUG_8[] = {0,244,73,4,116,137,211,226,196,8,244,73,11,69,30,9,69,13,2};
|
|
static const uint8_t MUG_9[] = {0,244,244,73,15,244,73,8,6,66,8,69,31,9,244,73,19,66,5,244,69,31,9,70,20,244,73,3,6,5,194};
|
|
static const uint8_t MUG_10[] = {0,244,68,255,1,197,244,66,3,244,73,13,5,244,73,6,5,1};
|
|
static const uint8_t MUG_11[] = {0,244,73,9,244,73,13,6,194,244,73,6,244,73,11,6,5,69,127,244,73,4,244,73,12,69,3,64,3,2,69,64,0};
|
|
static const uint8_t MUG_12[] = {0,244,73,6,199,197,192,244,73,9,244,68,16,116,2,116,6,53,5,244,73,9,5,194,1};
|
|
static const uint8_t MUG_13[] = {0,244,73,11,244,73,8,5,69,123,244,73,3,5,194};
|
|
static const uint8_t MUG_14[] = {0,244,66,9,244,73,4,5,244,66,5,244,73,7,5,6,244,66,3,244,73,10,5,6};
|
|
static const uint8_t MUG_15[] = {0,244,69,128,32,244,68,128,128,4,74,128,208,3,116,7,244,69,7,53,116,16,53,244,73,14,69,1,0,194,244,33,244,69,128,16,116,2,116,10,53,9,69,3,9,244,244,69,128,128,1,244,69,128,32,116,10,116,3,53,116,2,53,9,6};
|
|
static const uint8_t MUG_16[] = {0,244,73,10,69,5,71,1,64,3,244,73,14,69,3,128,0,2,194,244,73,8,69,3,9};
|
|
static const uint8_t MUG_17[] = {0,244,180,0,69,15,9,244,73,8,6,69,63,244,73,4,5,194};
|
|
static const uint8_t MUG_18[] = {0,244,130,0,244,73,7,5,244,66,3,244,73,10,5,6};
|
|
static const uint8_t MUG_19[] = {0,244,137,0,198,244,73,9,69,7,2};
|
|
static const uint8_t MUG_20[] = {0,244,73,8,133,0,194,244,73,4,7};
|
|
static const uint8_t MUG_21[] = {0,244,130,0,244,73,8,5,244,73,12,69,3,2};
|
|
static const uint8_t MUG_22[] = {0,116,213,181,2,244,180,0,69,3,64,8,9,69,14,9,69,15,194};
|
|
static const uint8_t MUG_23[] = {0,244,137,0,199,244,73,10,69,5,2};
|
|
static const uint8_t MUG_24[] = {0,244,73,2,244,130,0,73,6,244,73,9,6,5};
|
|
static const uint8_t MUG_25[] = {0,244,137,0,198,244,73,7,6,244,73,13,69,7,2};
|
|
static const uint8_t MUG_26[] = {0,244,73,11,69,3,128,0,194,244,73,6,5};
|
|
static const uint8_t MUG_27[] = {0,180,0,70,1,194,116,129,2,244,73,10,69,127,1,4,69,255,1};
|
|
static const uint8_t MUG_28[] = {0,244,73,10,69,7,133,0,194,244,73,5,6};
|
|
static const uint8_t MUG_29[] = {0,244,73,5,244,73,7,5,130,0,244,73,9,69,32,0};
|
|
static const uint8_t MUG_30[] = {0,244,73,12,133,0,116,3,116,2,53,194,244,73,6,5};
|
|
static const uint8_t MUG_31[] = {0,244,130,0,73,4,244,73,3,6,244,73,7,244,73,11,5,7};
|
|
static const uint8_t MUG_32[] = {0,244,73,5,244,73,8,6,194,244,73,16,69,7,9};
|
|
static const uint8_t MUG_33[] = {0,244,73,12,244,73,8,6,69,63,244,73,4,5,194};
|
|
static const uint8_t MUG_34[] = {0,244,73,6,198,244,244,73,16,69,7,9,6,66,10,244,73,11,69,7,0};
|
|
static const uint8_t MUG_35[] = {0,244,73,9,244,73,7,6,198,194,244,73,11,244,73,9,6,5};
|
|
static const uint8_t MUG_36[] = {0,244,66,5,244,73,7,5,244,66,3,244,66,4,73,10,5,6};
|
|
static const uint8_t MUG_37[] = {0,244,73,7,198,244,73,6,6,66,10,244,73,13,197,244,73,6,6,66,4,0};
|
|
static const uint8_t MUG_38[] = {0,244,69,128,32,244,68,255,1,199,194,244,73,4,6,73,1,244,73,3,244,69,128,64,244,72,2,244,53,6,53};
|
|
static const uint8_t MUG_39[] = {0,244,73,9,244,73,13,6,194,69,16,66,8,244,73,6,244,73,8,5,69,31,0};
|
|
static const uint8_t MUG_40[] = {0,244,73,4,244,73,5,69,42,2,244,73,3,6};
|
|
static const uint8_t MUG_41[] = {0,244,73,3,244,73,9,6,69,82,244,73,9,5,194};
|
|
static const uint8_t MUG_42[] = {0,244,130,0,244,73,4,5,244,73,5,180,0,64,1,194,73,7,5,6};
|
|
static const uint8_t MUG_43[] = {0,244,244,73,11,69,3,64,4,9,180,0,66,3,5,194};
|
|
static const uint8_t MUG_44[] = {0,244,73,2,244,180,0,69,3,64,8,9,69,7,244,73,12,69,3,6,2};
|
|
static const uint8_t MUG_45[] = {0,116,188,180,1,244,73,11,69,12,9,69,15,194,244,73,14,69,1,9};
|
|
static const uint8_t MUG_46[] = {0,244,73,13,69,1,116,3,116,4,53,194,244,73,5,5,180,0,64,2,194,73,9,244,73,7,5,6};
|
|
static const uint8_t MUG_47[] = {0,244,137,0,199,244,73,9,68,5,64,1,2};
|
|
static const uint8_t MUG_48[] = {1,244,73,11,244,73,13,7,69,7,64,1,155,129,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26};
|
|
static const uint8_t MUG_49[] = {1,116,3,244,73,10,69,15,116,3,155,129,41,27,27,93,16,128,129,41};
|
|
static const uint8_t MUG_50[] = {3,8,64,66,68,69,72,75,78,80,116,137,141,217,177,3,244,73,11,69,7,66,4,9,69,7,54,8,65,48,155,129,93,16,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26};
|
|
static const uint8_t MUG_51[] = {1,244,73,12,69,3,64,1,155,129,41,244,73,9,69,7,64,1,155,129,41,26};
|
|
static const uint8_t MUG_53[] = {1,244,73,9,244,73,11,5,69,7,70,1,155,129,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26};
|
|
static const uint8_t MUG_54[] = {1,244,73,11,69,7,66,3,64,1,244,73,11,69,1,64,1,155,129,41,27,93,2,50};
|
|
static const uint8_t MUG_55[] = {3,8,64,66,68,69,72,75,78,80,244,73,11,69,1,64,1,244,73,11,66,3,244,73,13,0,69,7,54,8,65,48,155,129,27,93,16,41};
|
|
static const uint8_t MUG_56[] = {3,8,50,51,52,53,54,56,53,51,244,73,9,69,7,54,8,65,48,155,129,93,2,41,244,73,11,69,7,54,8,65,48,155,129,93,4,41,0,93,2};
|
|
static const uint8_t MUG_57[] = {1,244,73,11,69,1,244,66,177,243,221,241,9,73,17,65,128,128,1,36,93,128,128,2,116,0,53,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26,180,129,41,0,93,2};
|
|
static const uint8_t MUG_58[] = {1,116,2,244,73,12,69,7,64,1,155,129,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26,27,128,129,41};
|
|
static const uint8_t MUG_59[] = {1,116,6,244,36,92,128,128,128,64,41,27,93,16,128,129,41};
|
|
static const uint8_t MUG_60[] = {1,244,73,11,69,7,64,2,180,129,41,27,41};
|
|
static const uint8_t MUG_61[] = {1,244,73,11,69,1,64,1,155,129,41,38,244,73,11,69,6,66,4,64,24,155,129,93,16,41,38,1};
|
|
static const uint8_t MUG_62[] = {1,116,1,244,73,11,69,7,64,4,8,116,128,64,155,129,116,1,244,73,11,69,7,64,4,8,29,39,27,93,128,64,41};
|
|
static const uint8_t MUG_63[] = {1,244,73,8,68,7,64,1,155,129,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26};
|
|
static const uint8_t MUG_64[] = {1,244,73,11,69,1,64,1,155,129,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26,244,73,11,69,2,66,8,64,24,155,129,93,16,41,116,128,128,4,244,68,128,24,66,10,36,93,128,128,2,1,89,0,26,0,93,2};
|
|
static const uint8_t MUG_65[] = {1,244,73,6,69,255,1,64,64,155,129,93,64,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26};
|
|
static const uint8_t MUG_66[] = {1,244,73,10,69,1,244,73,11,68,3,64,1,155,129,41,116,0,53,244,36,92,128,128,128,64,128,129,41,0,93,2};
|
|
static const uint8_t MUG_67[] = {1,116,3,180,129,41,244,73,11,69,3,76,0,116,3,155,129,41,93,3,116,0,53,0,244,73,11,69,3,76,1,116,5,155,129,41,93,5,116,0,53,0,244,73,11,69,3,76,2,116,7,155,129,41,93,7,116,0,53,0,27,93,4};
|
|
static const uint8_t MUG_68[] = {1,244,73,11,66,5,69,7,64,2,155,129,93,2,41};
|
|
static const uint8_t MUG_70[] = {1,244,73,9,244,73,7,5,69,7,64,1,155,129,244,73,9,244,73,7,5,69,255,1,36,93,16,0,41};
|
|
static const uint8_t MUG_71[] = {1,116,2,155,129,116,8,244,73,11,69,3,116,5,155,129,41,27,27,93,16,0,41};
|
|
static const uint8_t MUG_72[] = {1,244,73,11,69,3,64,1,155,129,41,244,73,11,69,3,64,1,155,129,41,38,26,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26};
|
|
static const uint8_t MUG_73[] = {1,180,129,116,1,244,73,11,69,7,8,197,36,93,32,1,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26};
|
|
static const uint8_t MUG_74[] = {1,116,34,244,73,11,69,15,1,155,129,93,32,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26};
|
|
static const uint8_t MUG_75[] = {1,180,129,41,244,73,13,69,3,64,2,155,129,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26,0,93,2};
|
|
static const uint8_t MUG_76[] = {1,116,2,116,2,155,129,41,244,36,92,128,128,128,128,2,41,26,27,128,129,41};
|
|
static const uint8_t MUG_77[] = {1,244,73,7,69,63,64,16,155,129,93,16,41};
|
|
static const uint8_t MUG_78[] = {3,8,64,66,68,69,72,75,78,80,244,73,11,64,1,66,177,243,221,241,9,73,29,54,8,65,48,155,129,93,16,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26};
|
|
static const uint8_t MUG_79[] = {3,8,64,66,68,69,72,75,78,80,244,73,12,69,7,54,8,65,48,155,129,93,16,41,116,20,244,73,12,69,7,54,8,65,48,155,129,27,93,128,2,41,0,116,24,244,73,12,69,7,54,8,65,48,155,129,27,93,128,2,41,0,93,4,244,73,11,66,5,69,7,74,5,116,128,4,244,69,255,3,1,244,66,177,243,221,241,9,73,17,65,128,128,1,36,93,128,128,2,27,93,128,16,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26,116,0,53,93,2,0};
|
|
static const uint8_t MUG_80[] = {1,244,73,11,68,5,64,1,155,129,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26};
|
|
static const uint8_t MUG_81[] = {1,116,7,155,129,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26,128,129,41};
|
|
static const uint8_t MUG_82[] = {3,8,64,66,68,69,72,75,78,80,180,129,41,116,3,155,129,93,2,41,0,244,73,11,69,7,54,8,65,48,155,129,93,16,41,0,93,3};
|
|
static const uint8_t MUG_83[] = {3,8,64,66,68,69,72,75,78,80,244,73,11,69,3,79,3,116,2,244,73,11,66,5,69,7,54,8,65,48,155,129,27,93,16,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26,116,0,53};
|
|
static const uint8_t MUG_84[] = {1,116,2,244,73,9,69,15,180,129,93,2,41,27,27,93,16,128,129,41};
|
|
static const uint8_t MUG_85[] = {1,180,129,41,82,0,180,129,41,180,129,41,93,4,53};
|
|
static const uint8_t MUG_86[] = {1,244,73,10,69,1,66,2,64,1,155,129,41,244,36,92,128,128,128,128,1,41,26};
|
|
static const uint8_t MUG_87[] = {1,244,73,8,69,7,64,8,155,129,93,8,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26};
|
|
static const uint8_t MUG_88[] = {1,116,2,155,129,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26,116,3,155,129,41,116,128,128,4,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,1,26,0,93,2};
|
|
static const uint8_t MUG_89[] = {1,116,4,244,73,11,69,7,116,5,155,129,41,27,27,93,16,128,129,41};
|
|
static const uint8_t MUG_90[] = {3,8,64,66,68,69,72,75,78,80,244,69,255,15,74,128,8,244,73,13,69,7,54,8,65,48,155,129,93,16,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26,116,0,53};
|
|
static const uint8_t MUG_91[] = {1,116,3,180,129,41,27,116,2,116,2,155,129,41,27,0,93,2,50};
|
|
static const uint8_t MUG_92[] = {1,244,73,9,244,73,12,7,69,7,70,1,155,129,41};
|
|
static const uint8_t MUG_93[] = {1,244,73,5,69,31,64,32,155,129,93,32,41,116,128,128,4,244,69,255,15,36,92,128,128,128,64,1,26};
|
|
static const uint8_t MUG_94[] = {1,180,129,41,244,73,11,69,3,64,1,155,129,41,26,180,129,93,2,41,93,4,0};
|
|
static const uint8_t MUG_95[] = {1,116,3,155,129,41,244,36,92,128,128,128,128,1,41,26,128,129,41};
|
|
static const uint8_t MUG_96[] = {0,244,73,10,69,42,194};
|
|
static const uint8_t MUG_97[] = {0,244,73,8,197};
|
|
static const uint8_t MUG_98[] = {2,8,51,54,51,54,52,54,56,57,244,73,11,69,7,54,8,194,73,2};
|
|
static const uint8_t MUG_99[] = {0,244,73,9,68,13,244,66,3,244,66,5,53};
|
|
static const uint8_t MUG_100[] = {0,244,244,73,12,69,3,3};
|
|
static const uint8_t MUG_101[] = {0,244,244,73,13,69,7,4};
|
|
static const uint8_t MUG_102[] = {0,244,244,73,8,8};
|
|
static const uint8_t MUG_103[] = {0,244,244,73,7,9};
|
|
static const uint8_t MUG_104[] = {0,244,33,73,3,244,34,7};
|
|
static const uint8_t MUG_105[] = {0,244,69,128,2,35,194};
|
|
static const uint8_t MUG_106[] = {0,244,73,10,69,3,244,73,11,69,3,10,244,244,73,1,53};
|
|
static const uint8_t MUG_107[] = {0,244,73,10,69,3,244,73,11,69,3,11,244,73,4,20};
|
|
static const uint8_t MUG_108[] = {0,244,73,10,69,3,76,2,244,73,12,69,1,21};
|
|
static const uint8_t MUG_109[] = {0,244,73,10,69,3,77,2,244,73,9,69,1,15};
|
|
static const uint8_t MUG_110[] = {0,244,130,0,244,180,0,69,7,9,5};
|
|
static const uint8_t MUG_111[] = {0,244,73,3,244,73,5,69,255,1,22,244,69,63,244,73,7,69,63,23,0};
|
|
static const uint8_t MUG_112[] = {0,244,65,128,128,2,38,73,4};
|
|
static const uint8_t MUG_113[] = {0,244,73,9,48,244,73,3,5};
|
|
static const uint8_t MUG_114[] = {0,244,40,244,73,1,42,0,244,73,2,44,0,244,73,3,46,0};
|
|
static const uint8_t MUG_115[] = {0,244,73,2,64,64,40,130,8,67,64};
|
|
static const uint8_t MUG_116[] = {0,244,130,8,67,60,244,180,9,73,5,9,5};
|
|
static const uint8_t MUG_117[] = {1,116,2,155,129,41,90,128,128,2};
|
|
static const uint8_t MUG_118[] = {1,180,129,41,244,73,11,69,1,180,129,90,128,128,6,41,27,0};
|
|
static const uint8_t MUG_119[] = {1,180,129,41,90,128,128,12,50};
|
|
static const uint8_t MUG_120[] = {1,180,129,41,90,128,128,8,88,128,128,4,89,128,128,252,255,15};
|
|
static const uint8_t MUG_121[] = {1,180,129,43,180,129,90,128,128,2,47,26,180,129,90,128,128,1,45,26};
|
|
static const uint8_t MUG_122[] = {1,180,129,90,128,128,16,39,92,128,128,16};
|
|
static const uint8_t MUG_123[] = {0,180,129,41,90,128,128,144,3,37};
|
|
static const uint8_t MUG_124[] = {1,244,69,255,1,36,92,128,128,128,8};
|
|
static const uint8_t MUG_125[] = {1,180,129,49,90,205,153,1,180,129,41,0};
|
|
static const uint8_t MUG_126[] = {1,244,73,11,69,3,36,65,128,128,6};
|
|
static const uint8_t MUG_127[] = {1,180,129,41,88,205,153,1,116,2,155,129,41,89,205,153,255,255,15,0};
|
|
static const uint8_t MUG_128[] = {1,180,129,41,38,65,128,128,2};
|
|
static const uint8_t MUG_129[] = {1,180,129,94,128,128,3};
|
|
static const uint8_t MUG_130[] = {1,180,129,41,244,73,12,69,3,29};
|
|
static const uint8_t MUG_131[] = {1,180,129,41,244,73,12,69,3,36,65,128,128,4,28};
|
|
static const uint8_t MUG_132[] = {1,244,68,7,180,129,41,27};
|
|
static const uint8_t MUG_133[] = {1,180,129,41,82,0,33,91,128,128,2,180,129,41,0};
|
|
static const uint8_t MUG_134[] = {1,180,129,41,80,0,116,2,155,129,41,180,129,41,33,53};
|
|
static const uint8_t MUG_135[] = {3,4,48,49,50,51,244,73,12,69,3,54,4,36,65,128,128,192,1};
|
|
static const uint8_t MUG_136[] = {3,4,49,50,51,52,244,73,11,69,7,244,73,9,69,3,54,4,65,48,155,129,41,116,0,53};
|
|
static const uint8_t MUG_137[] = {1,244,91,191,200,12,180,129,41,28};
|
|
static const uint8_t MUG_138[] = {1,180,131,36,128,132};
|
|
static const mu_gold_t MU_GOLD[] = {
|
|
{"(~t >> 2) * ((127u & t * (7u & t >> 10)) < (245u & t * (2u + (5u & t >> 14))))", 26, 0, MUG_0, {4027174158u, 3684274789u, 3164885460u}},
|
|
{"(t * ((3u + (1u ^ (t >> 10 & 5u))) * (5u + (3u & t >> 14)))) >> (t >> 8 & 3u)", 25, 0, MUG_1, {1757348662u, 53736608u, 991045669u}},
|
|
{"((-t & 4095u) * (255u & t * (t & t >> 13)) >> 12) + (127u & t * (234u & t >> 8 & t >> 3) >> (3u & t >> 14))", 37, 0, MUG_2, {1751011762u, 3687120624u, 3509362617u}},
|
|
{"t * (((t >> 9) ^ ((t >> 9) - 1u) ^ 1u) % 13u)", 15, 0, MUG_3, {1114282695u, 4121702147u, 2797371965u}},
|
|
{"((t >> 13 | t % 24u) & (t >> 7 | t % 19u)) << 3", 18, 0, MUG_4, {426755837u, 824299141u, 3757098005u}},
|
|
{"t * (t ^ (t + (t >> 15 | 1u)) ^ (((t - 1280u) ^ t) >> 10))", 17, 0, MUG_5, {2114953371u, 2004644325u, 1479238021u}},
|
|
{"(t * (0xCA98u >> (t >> 9 & 14u) & 15u)) | t >> 8", 18, 0, MUG_6, {247731060u, 3007809888u, 1495094820u}},
|
|
{"(t * (t >> 8 | t >> 9) & 46u & t >> 8) ^ ((t & t >> 13) | t >> 6)", 24, 0, MUG_7, {2016343158u, 4090457118u, 525436849u}},
|
|
{"(t >> 4) * (13u & 0x8898A989u >> (t >> 11 & 30u))", 19, 0, MUG_8, {3262698113u, 1207060348u, 3839114944u}},
|
|
{"t * (t >> ((8u * ((t >> 15) | (t >> 8))) & 31u) & (20u | (((t >> 19) * 5u) >> (t & 31u)) | t >> 3))", 31, 0, MUG_9, {1763224772u, 3320114954u, 2072902250u}},
|
|
{"(t & t % 255u) - (t * 3u & t >> 13 & t >> 6)", 18, 0, MUG_10, {2083820246u, 1650692403u, 120963858u}},
|
|
{"(t * (t >> 9 | t >> 13) & (t >> 6 | t >> 11) & 127u) + ((t >> 4) * (3u + (t >> 12 & 3u)) & 64u)", 33, 0, MUG_11, {2019634796u, 4226353079u, 3452799033u}},
|
|
{"t + (t & (t ^ t >> 6)) - t * ((t >> 9) & (t % 16u ? 2u : 6u) & t >> 9)", 25, 0, MUG_12, {3415164616u, 2154244997u, 2587907457u}},
|
|
{"t * (t >> 11 & t >> 8 & 123u & t >> 3)", 15, 0, MUG_13, {1802188389u, 847263819u, 744388307u}},
|
|
{"(t * 9u & t >> 4) | (t * 5u & t >> 7) | (t * 3u & t >> 10)", 24, 0, MUG_14, {237208415u, 3408843360u, 1632405756u}},
|
|
{"(t * ((t & 4096u ? (t % 65536u < 59392u ? 7u : t & 7u) : 16u) + (1u & t >> 14)) >> (3u & -t >> (t & 2048u ? 2 : 10))) | t >> (t & 16384u ? (t & 4096u ? 10 : 3) : 2)", 65, 0, MUG_15, {2779320897u, 616924554u, 2564763348u}},
|
|
{"(t * ((3u + (1u ^ (t >> 10 & 5u))) * (a + (3u & t >> 14)))) >> (t >> 8 & 3u)", 25, 0, MUG_16, {746565896u, 2284453197u, 433703024u}},
|
|
{"t * ((t >> (a & 15u) | t >> 8) & 63u & t >> 4)", 18, 0, MUG_17, {3599023841u, 898307758u, 3764364982u}},
|
|
{"(t * a & t >> 7) | (t * 3u & t >> 10)", 16, 0, MUG_18, {3841346451u, 2741455790u, 2072671052u}},
|
|
{"(t >> a | t) * (t >> 9 & 7u)", 11, 0, MUG_19, {3857558966u, 3069420374u, 2726502349u}},
|
|
{"t * (t >> 8 & a) ^ t >> 4", 11, 0, MUG_20, {1177826715u, 3198889787u, 2492321051u}},
|
|
{"(t * a & t >> 8) * (t >> 12 & 3u)", 14, 0, MUG_21, {1944262220u, 4141527445u, 2678548437u}},
|
|
{"t * (0x9AD5u >> (t >> (8u + (a & 3u)) & 14u) & 15u)", 19, 0, MUG_22, {2161038850u, 8320021u, 1445102463u}},
|
|
{"(t ^ t >> a) * (t >> 10 & 5u)", 11, 0, MUG_23, {3558350957u, 1786252856u, 4257070039u}},
|
|
{"t >> 2 & (t * a >> 6 | t >> 9)", 14, 0, MUG_24, {3059076873u, 2345670108u, 244015168u}},
|
|
{"(t | t >> a | t >> 7) * (t >> 13 & 7u)", 15, 0, MUG_25, {2473760154u, 1864792775u, 2240419114u}},
|
|
{"t * ((t >> 11 & 3u) + a) & t >> 6", 13, 0, MUG_26, {3344724592u, 478872891u, 3593957660u}},
|
|
{"(t * (a | 1u) % (257u - (t >> 10 & 127u))) & 255u", 19, 0, MUG_27, {1710514499u, 449379217u, 1460933317u}},
|
|
{"t * (t >> 10 & 7u & a) | t >> 5", 13, 0, MUG_28, {2079556094u, 2186437030u, 1758601011u}},
|
|
{"(t >> 5 & t >> 7) * a + (t >> 9 & 32u)", 16, 0, MUG_29, {438708450u, 3435864414u, 1455943989u}},
|
|
{"t * (t >> 12 & a ? 3u : 2u) & t >> 6", 16, 0, MUG_30, {978919536u, 804384308u, 1831004922u}},
|
|
{"(t * a >> 4 | t >> 3) ^ (t >> 7 & t >> 11)", 18, 0, MUG_31, {321612722u, 3183868269u, 3560408286u}},
|
|
{"(t * (t >> 5 | t >> 8)) >> (t >> 16 & 7u)", 15, 0, MUG_32, {3811443280u, 2982083007u, 3683655668u}},
|
|
{"t * ((t >> 12 | t >> 8) & 63u & t >> 4)", 15, 0, MUG_33, {3406785908u, 1329751115u, 2951166194u}},
|
|
{"(t >> 6 | t | t >> (t >> 16 & 7u)) * 10u + (t >> 11 & 7u)", 21, 0, MUG_34, {3757266726u, 2177882472u, 2467499130u}},
|
|
{"(t | (t >> 9 | t >> 7)) * t & (t >> 11 | t >> 9)", 18, 0, MUG_35, {2843985661u, 351204274u, 2745142009u}},
|
|
{"(t * 5u & t >> 7) | (t * 3u & t * 4u >> 10)", 18, 0, MUG_36, {3260808525u, 3502006542u, 864247581u}},
|
|
{"(t >> 7 | t | t >> 6) * 10u + 4u * ((t & t >> 13) | t >> 6)", 22, 0, MUG_37, {2577833699u, 241622507u, 950707333u}},
|
|
{"t & 4096u ? (t * (t ^ t % 255u) | t >> 4) >> 1 : (t >> 3) | (t & 8192u ? t << 2 : t)", 31, 0, MUG_38, {1399198568u, 1519785144u, 1997980309u}},
|
|
{"(t * (t >> 9 | t >> 13) & 16u) * 8u + (t >> 6 & t >> 8 & 31u)", 23, 0, MUG_39, {4023590604u, 2106791482u, 1281537938u}},
|
|
{"((t >> 4) * (t >> 5 & 0x2Au)) | t >> 3", 14, 0, MUG_40, {1261891798u, 2798887680u, 3130986938u}},
|
|
{"t * ((t >> 3 | t >> 9) & 82u & t >> 9)", 15, 0, MUG_41, {1501700837u, 2468141981u, 2557452415u}},
|
|
{"(t * a & t >> 4) | (t >> 5 & t * (a + 1u) >> 7)", 20, 0, MUG_42, {2144617716u, 3743878436u, 165097844u}},
|
|
{"t * (t >> ((t >> 11 & 3u) + 4u) & a * 3u)", 16, 0, MUG_43, {896906027u, 2421855646u, 1250726261u}},
|
|
{"(t >> 2) * ((t >> (8u + (a & 3u)) & 7u) | (t >> 12 & 3u))", 21, 0, MUG_44, {2649227294u, 2969952529u, 2825868549u}},
|
|
{"(t * (0x5A3Cu >> (t >> 11 & 12u) & 15u)) >> (t >> 14 & 1u)", 20, 0, MUG_45, {3703743217u, 2758734083u, 2324046339u}},
|
|
{"(t * (t >> 13 & 1u ? 3u : 4u) & t >> 5) | (t * (a + 2u) >> 9 & t >> 7)", 28, 0, MUG_46, {790563574u, 151380306u, 342419067u}},
|
|
{"(t ^ t >> a) * ((t >> 9) % 5u + 1u)", 13, 0, MUG_47, {153328128u, 2083881017u, 1008762924u}},
|
|
{"sin(w*(((t>>11^t>>13)&7)+1))*(1-(t&2047)/2048.)", 31, 1, MUG_48, {622425597u, 1042225115u, 2929975904u}},
|
|
{"sin(w+sin(w*3)*(t>>10&15)*3/16)", 20, 1, MUG_49, {3101531135u, 3173251895u, 2849319379u}},
|
|
{"sin(w*(\"@BDEHKNP\"[0x36364689>>((t>>11&7)*4)&7]-48)/16)*(1-(t&2047)/2048.)", 51, 1, MUG_50, {2070097497u, 1325803523u, 3669450949u}},
|
|
{"sin(w*(1+(t>>12&3)))*sin(w*((t>>9&7)+1))", 22, 1, MUG_51, {1831472106u, 811456098u, 3962007476u}},
|
|
{"sin(w*((t>>9&t>>11&7)|1))*(1-(t&2047)/2048.)", 31, 1, MUG_53, {1187903800u, 2394316376u, 2643677496u}},
|
|
{"sat(sin(w*(1+(t>>11&1)))*(1+(t>>11&7)*3)/2)", 24, 1, MUG_54, {584331757u, 2942173931u, 494826259u}},
|
|
{"sin(w*(\"@BDEHKNP\"[(t>>11)*3+(t>>13)&7]-48)*(1+(t>>11&1))/16)", 38, 1, MUG_55, {3208036839u, 2335401439u, 1582809213u}},
|
|
{"(sin(w*(\"23456853\"[t>>9&7]-48)/2)+sin(w*(\"23456853\"[t>>11&7]-48)/4))/2", 41, 1, MUG_56, {2684112834u, 198227138u, 2391272928u}},
|
|
{"((t>>11&1?(fix((t*2654435761>>17)-16384)/32768):0.)*(1-(t&2047)/2048.)+sin(w))/2", 49, 1, MUG_57, {4188845930u, 2728897331u, 1894550404u}},
|
|
{"sin(w+sin(w*((t>>12&7)+1))*(1-(t&2047)/2048.)*2)", 33, 1, MUG_58, {817858861u, 2106819243u, 4075701975u}},
|
|
{"sin(w+sin(t/2048.)*6/16)", 17, 1, MUG_59, {3993812027u, 2936256093u, 3094839137u}},
|
|
{"sin(sin(w)*(2+(t>>11&7)))", 13, 1, MUG_60, {516872077u, 1891019403u, 2863344999u}},
|
|
{"abs(sin(w*(1+(t>>11&1))))-abs(sin(w*(24+(t>>11&6)*4)/16))", 28, 1, MUG_61, {606610261u, 1101740343u, 3784406907u}},
|
|
{"sin(floor(w*8192/(1<<4+(t>>11&7)))*(1<<4+(t>>11&7))/8192)", 33, 1, MUG_62, {1616306177u, 1484256373u, 2635948481u}},
|
|
{"sin(w*((t>>8)%7+1))*(1-(t&2047)/2048.)", 27, 1, MUG_63, {1445874054u, 1015862198u, 1191797355u}},
|
|
{"(sin(w*(1+(t>>11&1)))*(1-(t&2047)/2048.)+sin(w*(24+(t>>11&2)*8)/16)*max(1-fix(t%3072*10)/32768,0.))/2", 63, 1, MUG_64, {3151430699u, 1765737623u, 1589205606u}},
|
|
{"sin(w*(64+(t>>6&255))/64)*(1-(t&2047)/2048.)", 30, 1, MUG_65, {569024335u, 2815938311u, 620467499u}},
|
|
{"((t>>10&1?sin(w*(1+(t>>11)%3)):0.)+sin(w+t/2048.))/2", 32, 1, MUG_66, {4144128314u, 3869142740u, 2988514042u}},
|
|
{"(sin(w)+((t>>11&3)>0?sin(w*3)/3:0.)+((t>>11&3)>1?sin(w*5)/5:0.)+((t>>11&3)>2?sin(w*7)/7:0.))*3/4", 63, 1, MUG_67, {1603438078u, 3712513235u, 1616718557u}},
|
|
{"sin(w*(2+((t>>11)*5&7))/2)", 15, 1, MUG_68, {786258509u, 691378439u, 245700475u}},
|
|
{"sin(w*(1+(t>>9&t>>7&7))+fix(t>>9&t>>7&255)/16)", 29, 1, MUG_70, {379049685u, 136987823u, 2704642027u}},
|
|
{"sin(w*2+sin(w*5)*(t>>11&3)*8/16)", 23, 1, MUG_71, {1167888455u, 613949481u, 1304942997u}},
|
|
{"sin(w*(1+(t>>11&3)))*abs(sin(w*(1+(t>>11&3))))*(1-(t&2047)/2048.)", 39, 1, MUG_72, {671693907u, 2060409637u, 2346850287u}},
|
|
{"sin(w-fix(t&1<<(t>>11&7))/32)*(1-(t&2047)/2048.)", 33, 1, MUG_73, {543906399u, 2387591314u, 3269002526u}},
|
|
{"sin(w*(34-(t>>11&15))/32)*(1-(t&2047)/2048.)", 30, 1, MUG_74, {2880368055u, 2299366816u, 4010587992u}},
|
|
{"(sin(w)+sin(w*((t>>13&3)+2))*(1-(t&2047)/2048.))/2", 33, 1, MUG_75, {3698861269u, 526387089u, 2208681249u}},
|
|
{"sin(w+sin(w*2)*sin(t/8192.)*2)", 22, 1, MUG_76, {2011289281u, 3969765657u, 1129936875u}},
|
|
{"sin(w*(16+(t>>7&63))/16)", 13, 1, MUG_77, {2066688663u, 1386618751u, 500696575u}},
|
|
{"sin(w*(\"@BDEHKNP\"[((t>>11)+1)*2654435761>>29]-48)/16)*(1-(t&2047)/2048.)", 48, 1, MUG_78, {570653899u, 1620946600u, 2912114319u}},
|
|
{"(sin(w*(\"@BDEHKNP\"[t>>12&7]-48)/16)+sin(w*(\"@BDEHKNP\"[t>>12&7]-48)*20/256)+sin(w*(\"@BDEHKNP\"[t>>12&7]-48)*24/256))/4+(((t>>11)*5&7)<5?(fix((t*2654435761>>17)-16384)/32768)*(512-(t&511))/2048*(1-(t&2047)/2048.):0.)/2", 125, 1, MUG_79, {4279391894u, 1980944322u, 2050180898u}},
|
|
{"sin(w*((t>>11)%5+1))*(1-(t&2047)/2048.)", 27, 1, MUG_80, {3441321454u, 3219947739u, 1637009192u}},
|
|
{"sin(w+sin(w*7)*(1-(t&2047)/2048.))", 25, 1, MUG_81, {2574113255u, 689605679u, 887890447u}},
|
|
{"(sin(w)+sin(w*3/2)+sin(w*(\"@BDEHKNP\"[t>>11&7]-48)/16))/3", 38, 1, MUG_82, {2079845464u, 2921117271u, 2926710178u}},
|
|
{"(t>>11&3)!=3?sin(w*(\"@BDEHKNP\"[(t>>11)*5&7]-48)*2/16)*(1-(t&2047)/2048.):0.", 55, 1, MUG_83, {2306863129u, 2294300855u, 975523671u}},
|
|
{"sin(w+sin(w/2)*(t>>9&15)*2/16)", 20, 1, MUG_84, {2574787195u, 4048597719u, 2333120617u}},
|
|
{"sin(w)>0?sin(w):sin(w)/4", 15, 1, MUG_85, {1583215281u, 3101145888u, 2975512470u}},
|
|
{"sin(w*(1+(t>>10&1)*2))*sin(t/4096.)", 23, 1, MUG_86, {2605744905u, 1016323489u, 78611423u}},
|
|
{"sin(w*(8+(t>>8&7))/8)*(1-(t&2047)/2048.)", 29, 1, MUG_87, {1444706885u, 641771114u, 1352910481u}},
|
|
{"(sin(w*2)*(1-(t&2047)/2048.)+sin(w*3)*(1-(1-(t&2047)/2048.)))/2", 51, 1, MUG_88, {3240282999u, 141627909u, 1522966595u}},
|
|
{"sin(w+sin(w*5)*(t>>11&7)*4/16)", 20, 1, MUG_89, {789133751u, 3542790379u, 3409088119u}},
|
|
{"(t&2047)<1024?sin(w*(\"@BDEHKNP\"[t>>13&7]-48)/16)*(1-(t&2047)/2048.):0.", 50, 1, MUG_90, {1678832052u, 955580299u, 4245478769u}},
|
|
{"sat((sin(w)*3+sin(w*2)*2)/2)", 19, 1, MUG_91, {71637319u, 958534417u, 1204779699u}},
|
|
{"sin(w*((t>>9^t>>12)&7|1))", 15, 1, MUG_92, {3531760105u, 3831012985u, 626985595u}},
|
|
{"sin(w*(32+(t>>5&31))/32)*(1-(t&2047)/2048.)", 29, 1, MUG_93, {3747134973u, 260224151u, 1859919335u}},
|
|
{"sin(w)*sin(w*(1+(t>>11&3)))+sin(w/2)/4", 23, 1, MUG_94, {967887928u, 524744354u, 4005562519u}},
|
|
{"sin(w+sin(w*3)*sin(t/4096.))", 19, 1, MUG_95, {3898823289u, 3992647949u, 247324439u}},
|
|
{"t*(42&t>>10)", 7, 0, MUG_96, {2780943613u, 1334217479u, 1013633483u}},
|
|
{"t&t>>8", 5, 0, MUG_97, {3136351535u, 2733978577u, 2132763227u}},
|
|
{"\"36364689\"[t>>11&7]*t>>2", 20, 0, MUG_98, {3123084449u, 3409789144u, 2841669343u}},
|
|
{"(t>>9)%13?t*3:t*5", 13, 0, MUG_99, {3793104788u, 3348699468u, 3288176548u}},
|
|
{"t/(t>>12&3)", 8, 0, MUG_100, {3479113589u, 810563983u, 1463035829u}},
|
|
{"t%(t>>13&7)", 8, 0, MUG_101, {3755326298u, 1834884984u, 982623199u}},
|
|
{"t<<(t>>8)", 6, 0, MUG_102, {3788659445u, 4108693768u, 3832780149u}},
|
|
{"t>>(t>>7)", 6, 0, MUG_103, {4241564353u, 2856499513u, 1268299232u}},
|
|
{"-t>>3^~t", 8, 0, MUG_104, {12293743u, 1736670489u, 408625333u}},
|
|
{"!(t&256)*t", 7, 0, MUG_105, {3898462680u, 383720524u, 3623117058u}},
|
|
{"(t>>10&3)<(t>>11&3)?t:t>>1", 17, 0, MUG_106, {375681771u, 706780895u, 250123681u}},
|
|
{"(t>>10&3)<=(t>>11&3)&&t>>4", 16, 0, MUG_107, {3018971881u, 1175511566u, 510026520u}},
|
|
{"(t>>10&3)>2||t>>12&1", 14, 0, MUG_108, {3302750681u, 3760633180u, 1584066842u}},
|
|
{"(t>>10&3)>=2!=(t>>9&1)", 14, 0, MUG_109, {556573209u, 1050492255u, 2813325558u}},
|
|
{"t*a&t>>(a&7)", 11, 0, MUG_110, {2911965265u, 2050349525u, 4058148693u}},
|
|
{"min(t>>3,t>>5&255)+max(t&63,t>>7&63)", 21, 0, MUG_111, {1429855615u, 3318641966u, 582773323u}},
|
|
{"abs(t-32768)>>4", 9, 0, MUG_112, {262446516u, 1888407267u, 2998498160u}},
|
|
{"rnd(t>>9)&t>>3", 9, 0, MUG_113, {972678890u, 3179745920u, 212214966u}},
|
|
{"sin(t)+tri(t>>1)+saw(t>>2)+sqr(t>>3)", 18, 0, MUG_114, {541944667u, 1976059164u, 257842255u}},
|
|
{"cos(t>>2)*n/64", 11, 0, MUG_115, {2808878589u, 3784105723u, 3968679459u}},
|
|
{"t*n/60&t>>(v>>5)", 13, 0, MUG_116, {2900806742u, 3662812395u, 4161547345u}},
|
|
{"sin(w*2)*0.5", 10, 1, MUG_117, {2054120808u, 3223252108u, 1580404824u}},
|
|
{"sin(w)+sin(w*1.5)*(t>>11&1)", 18, 1, MUG_118, {1622165167u, 2985814543u, 1026169797u}},
|
|
{"sat(sin(w)*3.)", 9, 1, MUG_119, {305306617u, 3688365693u, 250880919u}},
|
|
{"clip(sin(w)*2.)", 18, 1, MUG_120, {881087273u, 2169879337u, 641325397u}},
|
|
{"tri(w)*sqr(w*0.5)*saw(w*0.25)", 20, 1, MUG_121, {3503645869u, 3053159328u, 1430655368u}},
|
|
{"floor(w*4.)/4.", 12, 1, MUG_122, {202648261u, 219769541u, 3803425477u}},
|
|
{"int(sin(w)*100.)", 10, 0, MUG_123, {1898962091u, 141892676u, 851541457u}},
|
|
{"fix(t&255)/256.", 11, 1, MUG_124, {3123454405u, 671775685u, 3739849669u}},
|
|
{"rnd(w)*0.3+sin(w)", 12, 1, MUG_125, {3522784436u, 3478035207u, 2136522598u}},
|
|
{"(t>>11&3)-1.5", 11, 1, MUG_126, {4291930821u, 3960187589u, 3821382341u}},
|
|
{"min(sin(w),0.3)+max(sin(w*2),-0.2)", 20, 1, MUG_127, {1399256740u, 2736249004u, 28214139u}},
|
|
{"abs(sin(w))-0.5", 9, 1, MUG_128, {885762997u, 295020403u, 963246837u}},
|
|
{"w%0.75", 7, 1, MUG_129, {1842408280u, 1358047634u, 2812954210u}},
|
|
{"sin(w)/(t>>12&3)", 10, 1, MUG_130, {2752018242u, 890360519u, 3223488412u}},
|
|
{"sin(w)/(fix(t>>12&3)-1.)", 15, 1, MUG_131, {4232456594u, 4153944584u, 2286802109u}},
|
|
{"sin(w)*(t%7)", 8, 1, MUG_132, {784707073u, 3852440565u, 3849926703u}},
|
|
{"-(sin(w)>0.)*0.5+sin(w)", 15, 1, MUG_133, {4128995353u, 4131241639u, 1317393785u}},
|
|
{"sin(w)<0.?sin(w*2):-sin(w)", 16, 1, MUG_134, {3497283245u, 1583277387u, 2529303033u}},
|
|
{"\"0123\"[t>>12&3]-48.", 19, 1, MUG_135, {791325381u, 450144965u, 3466111685u}},
|
|
{"(t>>11&7?sin(w*(\"1234\"[t>>9&3]-48)):0.)", 26, 1, MUG_136, {1256949919u, 1232957443u, 2409650613u}},
|
|
{"PI*t/sin(w)", 10, 1, MUG_137, {3268124249u, 118966106u, 1568903980u}},
|
|
{"X+x", 6, 1, MUG_138, {2062658245u, 2062658245u, 2062658245u}},
|
|
};
|
|
/* refused by FM (BYTE's calls with a state, eu()): their texts */
|
|
static const char *const MU_GOLD_NO[] = {"((t>>11&1?0.:sin(ph(fix(((t&2047)<1024?(1024-(t&2047))*(1024-(t&2047))>>6:0)+40)*0.0841140747))*(1024-min(t&2047,1024))/1024)+sin(w/2)/2)/2", "((t>>11&3)==0?sin(ph(fix(((t&2047)<768?(768-(t&2047))*(768-(t&2047))>>6:0)+30)*0.0841140747))*(768-min(t&2047,768))/768:0.)/2+((t>>(8+(t>>11&3))&1)?(fix((t*2654435761>>17)-16384)/32768)*(1024-(t&1023))/4096:0.)/2+sin(w/2)/8", "ph(440.)", "lp(sin(w),0.5)", "eu(t>>10,3)"};
|