[Issue 8562] math.pow fails at compile-time

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 19 22:09:35 PDT 2012


--- Comment #1 from Caligo <iteronvexor at gmail.com> 2012-08-19 22:09:30 PDT ---
yup, it's math.isNaN().

template T() {
  enum a = isNaN(1.3);

  alias T!() t;

/home/b/phobos/std/math.d(2369): Error: Cannot convert &real to ushort* at
compile time
t.d(474):        called from here: isNaN(1.3L)
t.d(479): Error: template instance units.T!() error instantiating

God please, will somebody fix this?

Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

More information about the Digitalmars-d-bugs mailing list