Mercurial > ~darius > hgwebdir.cgi > modulator
view shaped-trap.h @ 30:92fdf2ef995d default tip
Use 32 bit rather than 16 bit ints for loop vars.
No risk of overflow and is actually faster.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Thu, 27 Feb 2025 15:24:17 +1030 |
parents | 032acb7fbc04 |
children |
line wrap: on
line source
const uint8_t shaped_trap[] = { 0x00, 0x01, 0x02, 0x05, 0x08, 0x0d, 0x12, 0x19, 0x20, 0x28, 0x30, 0x39, 0x43, 0x4d, 0x57, 0x61, 0x6c, 0x77, 0x81, 0x8c, 0x96, 0xa0, 0xa9, 0xb2, 0xbb, 0xc3, 0xcb, 0xd2, 0xd8, 0xde, 0xe4, 0xe8, 0xed, 0xf0, 0xf3, 0xf6, 0xf8, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, };