add missing code
This commit is contained in:
parent
33642f84cc
commit
1420d358a3
1 changed files with 16 additions and 0 deletions
16
editor.html
16
editor.html
|
|
@ -138,6 +138,22 @@
|
||||||
</body>
|
</body>
|
||||||
</html></script>
|
</html></script>
|
||||||
|
|
||||||
|
<script type="text/editor" id="javatext">public class InfiniteLoop {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This will cause the program to hang...
|
||||||
|
*
|
||||||
|
* Taken from:
|
||||||
|
* http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e-308/
|
||||||
|
*/
|
||||||
|
public static void main(String[] args) {
|
||||||
|
double d = Double.parseDouble("2.2250738585072012e-308");
|
||||||
|
|
||||||
|
// unreachable code
|
||||||
|
System.out.println("Value: " + d);
|
||||||
|
}
|
||||||
|
}</script>
|
||||||
|
|
||||||
<script type="text/editor" id="pythontext">#!/usr/local/bin/python
|
<script type="text/editor" id="pythontext">#!/usr/local/bin/python
|
||||||
|
|
||||||
import string, sys
|
import string, sys
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue