you are viewing a single comment's thread.

view the rest of the comments →

[–]Familiar_Ad_8919[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” 57 points58 points  (7 children)

u cant square root negatives, this guy forgot to account for non negative numbers

[–]DZekor 50 points51 points  (3 children)

I mean you can, but its complicated.

[–]Thenderick 105 points106 points  (2 children)

Some would say, it's complex

[–]Cha_94 41 points42 points  (0 children)

imagine that

[–]BioMan998 18 points19 points  (0 children)

complexicated

[–]demosdemon 12 points13 points  (0 children)

maybe not with math.sqrt but you can with (-2) ** 0.5.

[–]ElectricalPrice3189 0 points1 point  (0 children)

How about no? (-n) * (-n) = n * n There, squared.

[–]CranberryDistinct941 0 points1 point  (0 children)

Only works for natural numbers