Aug
28
asked Smallest grammar problem on a single character.
Aug
24
accepted How do component wavelengths *add* to wavelength of light color?
Aug
24
asked How do component wavelengths *add* to wavelength of light color?
Aug
22
comment The max number of repeats of substrings of a sample of a language.
@J.-E.Pin I guess I mean: the function $T: \{a^n | n \in \Bbb{N}\}, T(a^n) = n$ is the max number of any non-overlapping repeats of any substring (e.g. $a, aa, aaa, \dots$), since substring $a$ occurs $n$ times.
Aug
22
comment The max number of repeats of substrings of a sample of a language.
What I mean by an easy algorithm is that it can work on reasonably large input strings of English / math (e.g.) (like what a user might post on a forum, or a small set of wiki articles concatenated together) and actually compute the smallest grammar in a second or less, where as if given the same length string of all $a$'s your computer would run for days trying to find it. However, the algorithm may still not scale well for super-long inputs (but just work good enough for typically-sized human strings). And that is okay from an application perspective.
Aug
22
asked The max number of repeats of substrings of a sample of a language.
Aug
7
comment What is a bit-shifting standard C function for calculating $f(x) = \frac{(2^{16}- 1)}{(2^{32} - 1)}\cdot x$
I'm writing a driver for the PIC32MX family, and I'm allowed to use specific bit lengths. Also, I just resorted to the division operator, but I learned a lot making this post. And if it should not work right, I'll come back and refer to these answers. Not only am I allowed, but I have to know the size of my types, I'm writing a freakin driver for and only for a family of 32-bit MCUs!
Aug
7
accepted What is a bit-shifting standard C function for calculating $f(x) = \frac{(2^{16}- 1)}{(2^{32} - 1)}\cdot x$
Aug
6
answered What is a bit-shifting standard C function for calculating $f(x) = \frac{(2^{16}- 1)}{(2^{32} - 1)}\cdot x$
Aug
6
comment What is a bit-shifting standard C function for calculating $f(x) = \frac{(2^{16}- 1)}{(2^{32} - 1)}\cdot x$
I don't think any of the above comments are correct. Making answer now...
Aug
6
comment What is a bit-shifting standard C function for calculating $f(x) = \frac{(2^{16}- 1)}{(2^{32} - 1)}\cdot x$
I need an unsigned short, see post.
Aug
6
comment What is a bit-shifting standard C function for calculating $f(x) = \frac{(2^{16}- 1)}{(2^{32} - 1)}\cdot x$
@Oleg567 that's casting, not scaling
Aug
6
asked What is a bit-shifting standard C function for calculating $f(x) = \frac{(2^{16}- 1)}{(2^{32} - 1)}\cdot x$
Jul
30
accepted Is it still possible for their to exist a well-ordering on the reals such that there is always a least next element?
Jul
30
comment Is it still possible for their to exist a well-ordering on the reals such that there is always a least next element?
@AndréNicolas thanks. Where did you read that? And is it an iff condition?
Jul
30
asked Is it still possible for their to exist a well-ordering on the reals such that there is always a least next element?
Jul
25
comment Volume of trig function around y-axis
Please check over my edits.
Jul
25
revised Volume of trig function around y-axis
added 22 characters in body
Jul
25
comment Explain a linear function property?
Do you mean "Why does it hold for the second inequality"? Since the second inequality, $y \lt 0$, is part of a sufficient condition not a consequence.
Jul
22
comment Formal construction of $\mathbb Q$: interpretation and equality of elements
@NicolasLykkeIversen Made mistake, please see bolded.
1 2 3 4 5