[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-commits
Subject:    Re: [cfe-commits] [libcxx] r151731 - /libcxx/trunk/include/cmath
From:       Howard Hinnant <hhinnant () apple ! com>
Date:       2012-02-29 16:53:16
Message-ID: FBA33A48-52C0-4FD6-9D1A-474E78027F26 () apple ! com
[Download RAW message or body]

Thanks, I can follow it now. :-)

Howard

On Feb 29, 2012, at 11:41 AM, David Chisnall wrote:

> Author: theraven
> Date: Wed Feb 29 10:41:21 2012
> New Revision: 151731
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=151731&view=rev
> Log:
> Fix MSVC / Sun #ifdef ordering.  Remove another #if-nothing-#endif.
> 
> Sorry for the churn.
> 
> 
> Modified:
> libcxx/trunk/include/cmath
> 
> Modified: libcxx/trunk/include/cmath
> URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/cmath?rev=151731&r1=151730&r2=151731&view=diff
>  ==============================================================================
> --- libcxx/trunk/include/cmath (original)
> +++ libcxx/trunk/include/cmath Wed Feb 29 10:41:21 2012
> @@ -999,11 +999,8 @@
> typename enable_if<is_integral<_A1>::value, double>::type
> sqrt(_A1 __x) {return sqrt((double)__x);}
> 
> -#ifndef __sun__
> -
> // tan
> 
> -#endif // __sun__
> using ::tan;
> using ::tanf;
> #ifndef __sun__
> @@ -1415,11 +1412,12 @@
> lround(_A1 __x) {return lround((double)__x);}
> 
> // nan
> -
> +#endif // _MSC_VER
> #endif // __sun__
> using ::nan;
> using ::nanf;
> #ifndef __sun__
> +#ifndef _MSC_VER
> 
> // nearbyint
> 
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic