Changes between Initial Version and Version 1 of Ticket #8621


Ignore:
Timestamp:
Jun 3, 2013, 6:03:00 PM (9 years ago)
Author:
viboes
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8621 – Description

    initial v1  
    44
    55/opt/pgi-10.4/linux86/10.4/bin/pgcpp main.cpp -o erf.exe
    6 -------------------
     6
     7
     8{{{
    79#include <math.h>
    810#include <boost/math/special_functions/erf.hpp>
     
    1315   printf("MATH_H: %-20.15E\n", erf(val));
    1416}
    15 -------------------
     17}}}
     18
     19
    1620
    1721Output is as follows:
     22
     23{{{
    1824BOOST : 8.368481544380342E-01
    1925MATH_H: 8.427007929497149E-01
     26}}}
     27
    2028
    2129The value computed by BOOST is incorrect. The same code will give the correct value when compiled with VS2012 with Windows 7-64 bits OS.