Menu
Home
Create new Paste
Log in
Code
Theme: cobalt
Theme: eclipse
Theme: elegant
Theme: monokai
Theme: neat
Theme: night
Theme: rubyblue
import std.stdio; import std.math; @property float getFloat() { return sqrt(1.1); } void main() { writeln(getFloat is getFloat); // doesn't fail writeln(getFloat() is getFloat()); writeln(getFloat); }
Result:
Success
/
Return code: 0
/
Compilation time:
0.655
seconds
/
Run time:
0.001
seconds
Application output:
true
true
1.04881
Username
Message
Add comment
Paste info
Author:
Guest
Views:
113
Private:
no
Expires:
Never
Uploaded:
01.10.12 15:02
Votes
:
0
Tweet
Compilation
Compiler:
DMD 2.060
Pointer size:
m64
Actions
Download
Fork
Raw
×
Confirm
Are you sure you want to delete this paste?
There's no way back!
×
Confirm
Reason