Chayim Refael Friedman
Chayim Refael Friedman
~~I can optimize this a little bit more by starting the search for a method from index 2, skipping the initializer and finalizer we never lookup.~~ **Edit:** My bad, this...
Saner now 😺
What's the impact on memory usage? Compile time is not very important (and mirror API is rarely used, and often its results are cached, too), but the symbol table is...
I do support `&`, `|` and `^` since they're not short-circuting, but I see no reason to have `~`. Completeness alone isn't a strong enough argument, IMHO.
I prefer an overloaded `Num.toString(radix)`.
Do you think we need `lastIndexOf()` in `List` too?
Unfortunately, parsing doubles is one of the hardest things in the universe 😄 Doing it correctly requires bigfloats, or at least bigints. Although there are shortcuts, they never cover all...
> results seem equivalent to browsers console. If I were to put 309 zeroes or more, then it will start spitting errors which is equivalent to how the compiler behaved...
If you ignore overflows, try `6.631236871469758276785396630275967243399099947355303144249971758736286630139265439618068200788048744105960420552601852889715006376325666595539603330361800519107591783233358492337208057849499360899425128640718856616503093444922854759159988160304439909868291973931426625698663157749836252274523485312442358651207051292453083278116143932569727918709786004497872322193856150225415211997283078496319412124640111777216148110752815101775295719811974338451936095907419622417538473679495148632480391435931767981122396703443803335529756003353209830071832230689201383015598792184172909927924176339315507402234836120730914783168400715462440053817592702766213559042115986763819482654128770595766806872783349146967171293949598850675682115696218943412532098591327667236328125`.
You need to print _all_ of the digits (the problem is usually with the last binary one): try with `printf()`'s `%a` specifier.