| 104 | // http://www.boost.org/doc/libs/1_55_0/libs/multiprecision/doc/html/boost_multiprecision/tut/floats/fp_eg/aos.html |
| 105 | |
| 106 | template<typename T> inline T area_of_a_circle(T r) { |
| 107 | using boost::math::constants::pi; |
| 108 | return pi<T>() * r * r; |
| 109 | } |
| 110 | |
| 111 | TEST(MultiPrecisionFloatTest, Example) { |
| 112 | const float r_f(float(123) / 100); |