30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 214: Array Data<br />

Filtering by Comparison<br />

Examining and Analyzing Arrays<br />

If the value you’re using in the comparison is an integer constant, <strong>TotalView</strong><br />

performs a signed comparison. If you add the letter u or U to the constant,<br />

<strong>TotalView</strong> performs an unsigned comparison.<br />

Filtering for IEEE Values<br />

You can filter IEEE NaN, Infinity, or denormalized floating-point values by<br />

specifying a filter in the following form:<br />

operator ieee-tag<br />

The only comparison operators you can use are equal and not equal.<br />

The ieee-tag represents an encoding of IEEE floating-point values, as the following<br />

table describes:<br />

IEEE Tag Value Meaning<br />

$nan NaN (Not a number), either quiet or signaling<br />

$nanq Quiet NaN<br />

$nans Signaling NaN<br />

$inf Infinity, either positive or negative<br />

$pinf Positive Infinity<br />

$ninf Negative Infinity<br />

$denorm Denormalized number, either positive or negative<br />

$pdenorm Positive denormalized number<br />

$ndenorm Negative denormalized number<br />

Figure 215 on page 340 shows an example of filtering an array for IEEE values.<br />

The bottom window in this figure shows how <strong>TotalView</strong> displays the<br />

unfiltered array. Notice the NaNQ, and NaNS, INF, and –INF values. The<br />

other two windows show filtered displays: the top window shows only infinite<br />

values; the remaining window only shows the values of denormalized<br />

numbers.<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.7 339

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!