www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - std.intrinsic?

reply Manu <turkeyman gmail.com> writes:
I just installed dmd 2.60 in linux, and it seems std.intrinsic isn't
there... is this my fault somehow, or has it been removed?
I need the bsr() intrinsic which (used to?) live there.
Oct 02 2012
parent reply "Iain Buclaw" <ibuclaw ubuntu.com> writes:
On Tuesday, 2 October 2012 at 21:06:04 UTC, Manu wrote:
 I just installed dmd 2.60 in linux, and it seems std.intrinsic 
 isn't
 there... is this my fault somehow, or has it been removed?
 I need the bsr() intrinsic which (used to?) live there.

import core.bitop;
Oct 02 2012
parent Manu <turkeyman gmail.com> writes:
On 3 October 2012 00:17, Iain Buclaw <ibuclaw ubuntu.com> wrote:

 On Tuesday, 2 October 2012 at 21:06:04 UTC, Manu wrote:

 I just installed dmd 2.60 in linux, and it seems std.intrinsic isn't
 there... is this my fault somehow, or has it been removed?
 I need the bsr() intrinsic which (used to?) live there.

import core.bitop;

Cheers!
Oct 02 2012