Re: What is the postfix for min long value?

2017-05-30 Thread Zaydek via Digitalmars-d-learn
On Tuesday, 6 October 2015 at 15:16:13 UTC, tcak wrote: While writing max ulong value, I added the "u" postfix. So compiler accepted it as ulong value (That's my interpretation if correct on compiler's side). writeln( 18_446_744_073_709_551_615u ); But when I try to print out minimum value

Re: What is the postfix for min long value?

2017-05-30 Thread Zaydek via Digitalmars-d-learn
Jonathan, I saw this answered in another post: http://forum.dlang.org/post/gtaublmskqrhnbhoe...@forum.dlang.org I.e., you can do long(-9223372036854775808UL) :) Or long l = -9223372036854775808UL;