[OT] Re: How are you enjoying DConf? And where to go next?
Timon Gehr via Digitalmars-d
digitalmars-d at puremagic.com
Sat May 7 15:29:49 PDT 2016
On 07.05.2016 23:49, deadalnix wrote:
> On Saturday, 7 May 2016 at 16:50:10 UTC, Russel Winder wrote:
>> On Sat, 2016-05-07 at 15:17 +0000, Adam D. Ruppe via Digitalmars-d wrote:
>>>
>> […]
>>> Besides, zero is just as arbitrary as thirty-two (which, btw, is a
>>> power of two*) and easy to remember if you use it anyway! I
>> […]
>>
>> 0 is a power of two as well.
>>
>
> It is 2 power how many ?
>
void main(){
assert(2^^32==0);
assert(2^^-double.infinity==0);
assert(2^^(new class{int opBinaryRight(string op)(int x){ return 0;
}})==0);
}
More information about the Digitalmars-d
mailing list