Displaying 3 results from an estimated 3 matches for "cfenv".
Did you mean:
fenv
2018 Apr 28
1
Possible bug in optimizer
...produce the error; notice
something more convoluted is needed at -O3 (the original software still
crashes, but in this example, probably too much is optimized away).
// ------------ a.cpp ------------------
#include <iostream>
#include <numeric>
#include <limits>
#include <cfenv>
double f(double A,double B) {
if (A<B) return std::numeric_limits<double>::max();
return A-B;
}
int main(int , char**) {
feenableexcept(FE_OVERFLOW); //**** NOTE 1
double A=f(.0001002773902563,1.);
std::cout<<A<<std::endl;
double B;
if (A...
2014 Oct 07
2
[LLVMdev] Can libc++ build for arm cross compiler?
.../out-arm/include/c++/v1/./map
> -- Installing:
> /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./complex
> -- Installing:
> /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./__hash_table
> -- Installing:
> /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cfenv
> -- Installing:
> /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./codecvt
> -- Installing:
> /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./cstdio
> -- Installing:
> /home/cschen/test/libcxx-scripts/out-arm/include/c++/v1/./iterator
> -- Installing:
> /...
2014 Oct 03
3
[LLVMdev] Can libc++ build for arm cross compiler?
On 10/3/14 10:16 AM, Dan Albert wrote:
>>
>> I try to build libc++ and libc++abi for host x86_64(linux) and target
>> arm(linux) but fail.
>>
>
> Failing in what way? If this isn't working out of the box, we've done
> something wrong.
Yeah, it would help to know more specifics about where you're getting stuck.
>
> jroelofs might know more...
For