|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r82533 - sandbox/boost_docs/subprojects/DebuggerVisualizers
From: john_at_[hidden]
Date: 2013-01-18 08:44:23
Author: johnmaddock
Date: 2013-01-18 08:44:22 EST (Fri, 18 Jan 2013)
New Revision: 82533
URL: http://svn.boost.org/trac/boost/changeset/82533
Log:
Update for infinity and NaN's.
Text files modified:
sandbox/boost_docs/subprojects/DebuggerVisualizers/multiprecision.vis.txt | 28 +++++++++++++++++++---------
1 files changed, 19 insertions(+), 9 deletions(-)
Modified: sandbox/boost_docs/subprojects/DebuggerVisualizers/multiprecision.vis.txt
==============================================================================
--- sandbox/boost_docs/subprojects/DebuggerVisualizers/multiprecision.vis.txt (original)
+++ sandbox/boost_docs/subprojects/DebuggerVisualizers/multiprecision.vis.txt 2013-01-18 08:44:22 EST (Fri, 18 Jan 2013)
@@ -110,18 +110,28 @@
boost::multiprecision::number<boost::multiprecision::backends::cpp_dec_float<*,*,void>,*>{
preview(
- #if($e.m_backend.exp != 0)(
- #if($e.m_backend.neg)(
- #("-", [$e.m_backend.data.elems[0],u], ".", [$e.m_backend.data.elems[1],u], [$e.m_backend.data.elems[2],u], "...e", [$e.m_backend.exp,d])
- ) #else(
- #([$e.m_backend.data.elems[0],u], ".", [$e.m_backend.data.elems[1],u], [$e.m_backend.data.elems[2],u], "...e", [$e.m_backend.exp,d])
+ #if($e.m_backend.fpclass == 0)(
+ #if($e.m_backend.exp != 0)(
+ #if($e.m_backend.neg)(
+ #("-", [$e.m_backend.data.elems[0],u], ".", [$e.m_backend.data.elems[1],u], [$e.m_backend.data.elems[2],u], "...e", [$e.m_backend.exp,d])
+ ) #else(
+ #([$e.m_backend.data.elems[0],u], ".", [$e.m_backend.data.elems[1],u], [$e.m_backend.data.elems[2],u], "...e", [$e.m_backend.exp,d])
+ )
+ )#else(
+ #if($e.m_backend.neg)(
+ #("-", [$e.m_backend.data.elems[0],u], ".", [$e.m_backend.data.elems[1],u], [$e.m_backend.data.elems[2],u], "...")
+ ) #else(
+ #([$e.m_backend.data.elems[0],u], ".", [$e.m_backend.data.elems[1],u], [$e.m_backend.data.elems[2],u], "...")
+ )
)
- )#else(
+ )#elif($e.m_backend.fpclass == 1)(
#if($e.m_backend.neg)(
- #("-", [$e.m_backend.data.elems[0],u], ".", [$e.m_backend.data.elems[1],u], [$e.m_backend.data.elems[2],u], "...")
- ) #else(
- #([$e.m_backend.data.elems[0],u], ".", [$e.m_backend.data.elems[1],u], [$e.m_backend.data.elems[2],u], "...")
+ "-INF"
+ )#else(
+ "+INF"
)
+ )#else(
+ "NaN"
)
)
children(
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk