23 lines
691 B
Plaintext
23 lines
691 B
Plaintext
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
=== Message
|
|
|
|
"xxx" is (inc|dec)remented and will never reach "stop condition".
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
=== on 2 Dec 2014, 09:29:56 Pierre-Yves Nicolas wrote:
|
|
In fact, it's not an infinite loop because of integer overflow. On my computer, the noncompliant example above finishes in less than a second.
|
|
|
|
=== on 13 Mar 2015, 14:03:09 Pierre-Yves Nicolas wrote:
|
|
In JavaScript, moving the counter in the wrong direction causes an infinite loop because there is no integer type. All numbers are 64 bit floating point numbers.
|
|
|
|
|
|
endif::env-github,rspecator-view[]
|