Bot Demos
-
@error `[sum(1..Inf)] checking ...
[sum(1..Inf)] lexical errorEncountered "." at line 1, column 6.
Was expecting one of:
")" ...
"+" ...
"-" ...
"*" ...
"/" ...
"^" ...
"^^" ...
"#" ...
"!" ...
"%" ...
"," ...
";" ...
<EQ> ...
<NEQ> ...
"<" ...
"<=" ...
">" ...
">=" ...
<OR> ...
<AND> ...
"-->" ...
"<--" ...
"-/>" ...
"</-" ...
<NAND> ...
"<->" ...
<NOR> ...
<BITWISE> ...
"(+)" ...[sum(1..Inf)] errors were found.
-
Cool. Can it do derivatives?
-
@discobot math eval cos(2) - der( sum(k,0,10,(-1)^k*(x^(2k+1))/(2k+1)!), x, 2)
-
@pie_flavor
-2.64620353407352E-09
-
@error oh yeah and it's mathematical syntax, not programmatic.
@discobot math eval sum(i, 1, 10000000000, i)
-
@discobot ping
-
@pie_flavor pong
-
Threading FTW, I guess.
-
@pie_flavor
5.000000000006786E+19
-
-
@discobot math eval sum(i, 1, 60000000000, i)
-
@discobot math eval 2 + 2 = 5
-
@_p_
0
-
-
This post is deleted!
-
@discobot math eval 2 + 2 = 4
-
@_p_
1
-
@pie_flavor
5.000000000006786E+19
Wow, only 4 hours.
Why is the result a floating point when it's a sum of integers? I think that's .
-
@discobot math eval der( sin(1/x), x, 0)
-
@_p_
-2356482.0307606733
-
@pie_flavor
5.000000000006786E+19
Wow, only 4 hours.
Why is the result a floating point when it's a sum of integers? I think that's .
That's an integer value. Scientific notation.
-
@error
sum(i, 1, 10000000000, i)
should give5.000000000500000E+19
, not5.000000000006786E+19
. The only possibility for that to happen while keepingO(n)
runtime would be floating point error occurred.
-
Why is the result a floating point when it's a sum of integers? I think that's .
is that the sum of all positive integers is -1/12.
-
It kind of ruins the pacing to put the hidden comic alongside the comic.
Perhaps you could spoiler it?
-
@pie_flavor said in Bot Demos:
@discobot math eval cos(2) - der( sum(k,0,10,(-1)^k*(x^(2k+1))/(2k+1)!), x, 2)
What engine is used to evaluate that?
-
@discobot math eval asin(2)
-
@pleegwat
NaN
-
@discobot math eval sqrt(-1)
-
@pleegwat
NaN
-
@discobot math eval sum(n,0,1000,1/(n^2))
-
@pleegwat
NaN
-
@discobot math eval 1+1
-
-
!black lotus
-
-
-
@error_bot
!blacker lotus
-
Too bad @error_bot seems can't find Unglued cards.
-
@error_bot
!mtg blacker lotus
-
-
-
@error_bot !mtg
-
@error_bot !mtg random
!xkcd interblag
-
-
-
@error clearly
@error_bot !mtg nightmare
-
-
@discobot math NaN
-
@discobot math eval NaN
-
@zecc `[NaN] checking ...
[NaN] (NaN, 0) invalid <TOKEN>.
[NaN] errors were found.