view tests/mini/real1.d @ 1634:9cc791423e20

Fix typo for iretq
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Thu, 25 Feb 2010 17:12:54 -0700
parents cc40db549aea
children
line wrap: on
line source

module mini.real1;

extern(C)
{
real tanl(real x);
int printf(char*, ...);
}

void main()
{
    real ans = tanl(0.785398163398);
    printf("%llf\n", ans);
    assert(ans > 0.999 && ans < 1.001);
}