codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
int main() { double zero = 0; double three = 3.0; double x = three / zero; std::cout << (x == std::numeric_limits<double>::infinity()) << std::endl; }
Private
[
?
]
Run code
Submit