http://llvm.org/bugs/show_bug.cgi?id=20083

Nathan Sidwell <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #1 from Nathan Sidwell <[email protected]> ---
Appears resolved:
#include <stdio.h>
#include <complex.h>
#define FLT_MIN 1.17549435E-38

int main (void)
{
  float f;
  float complex fc;
  fc = f = FLT_MIN;
  fc = f / fc;

  printf ("fc=%e + %ei\n", __real__(fc), __imag__(fc));

  return 0;
}

nathan@morden:33>obj/Debug+Asserts/bin/clang 20083.cc 
nathan@morden:34>./a.out 
fc=1.000000e+00 + 0.000000e+00i

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to