mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
more cmake improvements; start removing the autotools stuff.
This commit is contained in:
@@ -4,9 +4,17 @@ MACRO (CHECK_LONG_DOUBLE _RESULT)
|
||||
|
||||
SET(_CHECK_LONG_DOUBLE_SOURCE_CODE "
|
||||
|
||||
#include <cmath>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
long double ld = static_cast<long double>(0);
|
||||
long double ld = static_cast<long double>(1);
|
||||
sqrt(ld);
|
||||
cos(ld);
|
||||
sin(ld);
|
||||
exp(ld);
|
||||
log(ld);
|
||||
fabs(ld);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user