Changeset 83407


Ignore:
Timestamp:
Mar 11, 2013, 12:19:51 PM (6 years ago)
Author:
Paul A. Bristow
Message:

Minor corrections from John 10 Mar 13

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/math/example/bessel_errors_example.cpp

    r83361 r83407  
    5959  }
    6060
    61 /*`[note The type shown is the type [*after promotion],
     61/*`[note The type shown in the error message is the type [*after promotion],
    6262using __precision_policy and __promotion_policy, from `float` to `double` in this case.]
    6363
     
    6767# Treat `int` "as if" it were a `double`, so arguments are `float` and `double`.
    6868# Common type is `double` - so that's the precision we want (and the type that will be returned).
    69 # Evaluate internally as `long double` for full `double` precision.
     69# Evaluate internally as `double` for full `float` precision.
    7070
    7171See full code for other examples that promote from `double` to `long double`.
Note: See TracChangeset for help on using the changeset viewer.