Changes between Initial Version and Version 1 of Ticket #8621
- Timestamp:
- Jun 3, 2013, 6:03:00 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8621 – Description
initial v1 4 4 5 5 /opt/pgi-10.4/linux86/10.4/bin/pgcpp main.cpp -o erf.exe 6 ------------------- 6 7 8 {{{ 7 9 #include <math.h> 8 10 #include <boost/math/special_functions/erf.hpp> … … 13 15 printf("MATH_H: %-20.15E\n", erf(val)); 14 16 } 15 ------------------- 17 }}} 18 19 16 20 17 21 Output is as follows: 22 23 {{{ 18 24 BOOST : 8.368481544380342E-01 19 25 MATH_H: 8.427007929497149E-01 26 }}} 27 20 28 21 29 The value computed by BOOST is incorrect. The same code will give the correct value when compiled with VS2012 with Windows 7-64 bits OS.