Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Hi,
exp=0
? should we simplify the mantissa to 1?Cheers
I'll add more tests regarding those higher values,
I've never really thought about that issue regarding very low negative exponents, it's never come up in game development before. I'll try to fix it before making the next part.
1e1e6
is a useless gimmick at the moment. There's1
fixed test for the whole situation, and the full implications of3.14e-1.5e8
are too horrible to contemplate anyway.I hope you have the series mapped and planned in advance very carefully ( but somehow I doubt it ).
I would strongly suggest using fixed point representation if you're going to round to two decimals anyway.
You're setting up yourself ( and us ) for a lot of heartache by using floating point values as exact values. I don't have a suggestion ATM, just an observation.
Looks like we both left the
console.log
in our code :DNo problem.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
please test values as
0.0001
or12347
formts
That feels kinda, cheaty; don't you think?
Did you know that you can use
||
after an expression, and then if that one is 'falsy' (is 0, '', doesn't exist, see more on the Mozilla website) it uses the one after. So instead of including a bunch of edge cases in the database, you could do:lang[language] || 'Welcome'
.