<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>libstdc++: std::decimal::decimal32 Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">libstdc++</div> </td> </tr> </tbody> </table> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('a00450.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <div class="title">std::decimal::decimal32 Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="std::decimal::decimal32" --> <p>3.2.2 Class <a class="el" href="a00450.html" title="3.2.2 Class decimal32.">decimal32</a>. <a href="a00450.html#details">More...</a></p> <p><a href="a02499.html">List of all members.</a></p> <h2><a name="pub-types"></a> Public Types</h2> <ul> <li><a class="anchor" id="a8e16e159dfd7c6f8cb65fe88af70c7ef"></a><!-- doxytag: member="std::decimal::decimal32::__attribute__" ref="a8e16e159dfd7c6f8cb65fe88af70c7ef" args="((mode(SD)))" --> typedef float __decfloat32 <b>__attribute__</b> ((mode(SD))) </ul> <h2><a name="pub-methods"></a> Public Member Functions</h2> <ul> <li><a class="anchor" id="a5cd1f7a52a3ad16dfcc62c20b6319107"></a><!-- doxytag: member="std::decimal::decimal32::decimal32" ref="a5cd1f7a52a3ad16dfcc62c20b6319107" args="(decimal64 __d64)" --> <b>decimal32</b> (<a class="el" href="a00451.html">decimal64</a> __d64) <li><a class="anchor" id="a37d5c747220d6c1aed6ab167294c8734"></a><!-- doxytag: member="std::decimal::decimal32::decimal32" ref="a37d5c747220d6c1aed6ab167294c8734" args="(float __r)" --> <b>decimal32</b> (float __r) <li><a class="anchor" id="a1ac0edc7be64715d84376a15292c23c2"></a><!-- doxytag: member="std::decimal::decimal32::decimal32" ref="a1ac0edc7be64715d84376a15292c23c2" args="(unsigned int __z)" --> <b>decimal32</b> (unsigned int __z) <li><a class="anchor" id="ace450d0554b2c9647fc494fd212473a6"></a><!-- doxytag: member="std::decimal::decimal32::decimal32" ref="ace450d0554b2c9647fc494fd212473a6" args="(long __z)" --> <b>decimal32</b> (long __z) <li><a class="anchor" id="ab58a650173ac07b7acdaac66750a89fb"></a><!-- doxytag: member="std::decimal::decimal32::decimal32" ref="ab58a650173ac07b7acdaac66750a89fb" args="(double __r)" --> <b>decimal32</b> (double __r) <li><a class="anchor" id="ad5de9e8c98c6dd5413aeb7b4e70a8540"></a><!-- doxytag: member="std::decimal::decimal32::decimal32" ref="ad5de9e8c98c6dd5413aeb7b4e70a8540" args="(unsigned long __z)" --> <b>decimal32</b> (unsigned long __z) <li><a class="anchor" id="a46d86f2535e1cd5a2ecaa4dae2e45bce"></a><!-- doxytag: member="std::decimal::decimal32::decimal32" ref="a46d86f2535e1cd5a2ecaa4dae2e45bce" args="(long long __z)" --> <b>decimal32</b> (long long __z) <li><a class="anchor" id="a32956c81e8d4d748448b439bfbc0ae38"></a><!-- doxytag: member="std::decimal::decimal32::decimal32" ref="a32956c81e8d4d748448b439bfbc0ae38" args="(decimal128 __d128)" --> <b>decimal32</b> (<a class="el" href="a00449.html">decimal128</a> __d128) <li><a class="anchor" id="aff77bf6b7d3f1d29dbfdfe27aa2c9fde"></a><!-- doxytag: member="std::decimal::decimal32::decimal32" ref="aff77bf6b7d3f1d29dbfdfe27aa2c9fde" args="(long double __r)" --> <b>decimal32</b> (long double __r) <li><a class="anchor" id="ad8422d3e53669a77c91f63ba8ee980c6"></a><!-- doxytag: member="std::decimal::decimal32::decimal32" ref="ad8422d3e53669a77c91f63ba8ee980c6" args="(unsigned long long __z)" --> <b>decimal32</b> (unsigned long long __z) <li><a class="el" href="a00450.html#a0a56ec8df48bee17d6c22c53c0f160f8">decimal32</a> (__decfloat32 __z) <li><a class="anchor" id="a4717835c2b021e214db0718e3c985c27"></a><!-- doxytag: member="std::decimal::decimal32::decimal32" ref="a4717835c2b021e214db0718e3c985c27" args="(int __z)" --> <b>decimal32</b> (int __z) <li><a class="anchor" id="acffdb78efedc6211e8bdc9577b135f63"></a><!-- doxytag: member="std::decimal::decimal32::__getval" ref="acffdb78efedc6211e8bdc9577b135f63" args="(void)" --> __decfloat32 <b>__getval</b> (void) <li><a class="anchor" id="af477fac2941f408208b35dbcb01e821b"></a><!-- doxytag: member="std::decimal::decimal32::__setval" ref="af477fac2941f408208b35dbcb01e821b" args="(__decfloat32 __x)" --> void <b>__setval</b> (__decfloat32 __x) <li><a class="anchor" id="af8339cf2c9a2c421f6bdb1ba1bc98e34"></a><!-- doxytag: member="std::decimal::decimal32::operator*=" ref="af8339cf2c9a2c421f6bdb1ba1bc98e34" args="(decimal32 __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator*=</b> (<a class="el" href="a00450.html">decimal32</a> __rhs) <li><a class="anchor" id="a12ee3efe871a8a5281447130704d0fe3"></a><!-- doxytag: member="std::decimal::decimal32::operator*=" ref="a12ee3efe871a8a5281447130704d0fe3" args="(decimal64 __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator*=</b> (<a class="el" href="a00451.html">decimal64</a> __rhs) <li><a class="anchor" id="aa3adb41b4a7ce119ef2f50ec77dde4e2"></a><!-- doxytag: member="std::decimal::decimal32::operator*=" ref="aa3adb41b4a7ce119ef2f50ec77dde4e2" args="(decimal128 __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator*=</b> (<a class="el" href="a00449.html">decimal128</a> __rhs) <li><a class="anchor" id="a90204f2a967c2829ecfde388a3ee09d9"></a><!-- doxytag: member="std::decimal::decimal32::operator*=" ref="a90204f2a967c2829ecfde388a3ee09d9" args="(int __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator*=</b> (int __rhs) <li><a class="anchor" id="a0691db0d4faf0cbe3b5fe191eff26d1d"></a><!-- doxytag: member="std::decimal::decimal32::operator*=" ref="a0691db0d4faf0cbe3b5fe191eff26d1d" args="(unsigned int __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator*=</b> (unsigned int __rhs) <li><a class="anchor" id="aa71771d9dac0c91eff48d86c58aa83b4"></a><!-- doxytag: member="std::decimal::decimal32::operator*=" ref="aa71771d9dac0c91eff48d86c58aa83b4" args="(long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator*=</b> (long __rhs) <li><a class="anchor" id="a564899ce7ec9f46e2b0d889fc7546a8d"></a><!-- doxytag: member="std::decimal::decimal32::operator*=" ref="a564899ce7ec9f46e2b0d889fc7546a8d" args="(unsigned long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator*=</b> (unsigned long __rhs) <li><a class="anchor" id="a67fc37fa1c26968d2c072a2a61c0383b"></a><!-- doxytag: member="std::decimal::decimal32::operator*=" ref="a67fc37fa1c26968d2c072a2a61c0383b" args="(unsigned long long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator*=</b> (unsigned long long __rhs) <li><a class="anchor" id="ad67beb5c3e7b5c4b2643ae75dc98a395"></a><!-- doxytag: member="std::decimal::decimal32::operator*=" ref="ad67beb5c3e7b5c4b2643ae75dc98a395" args="(long long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator*=</b> (long long __rhs) <li><a class="anchor" id="a6833ace2ad8dd8d42893de534d4bd7e5"></a><!-- doxytag: member="std::decimal::decimal32::operator++" ref="a6833ace2ad8dd8d42893de534d4bd7e5" args="()" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator++</b> () <li><a class="anchor" id="af4392ae09582b38ab961cbd1001931a4"></a><!-- doxytag: member="std::decimal::decimal32::operator++" ref="af4392ae09582b38ab961cbd1001931a4" args="(int)" --> <a class="el" href="a00450.html">decimal32</a> <b>operator++</b> (int) <li><a class="anchor" id="a3cbdf71268a5ef8ace113168683c8982"></a><!-- doxytag: member="std::decimal::decimal32::operator+=" ref="a3cbdf71268a5ef8ace113168683c8982" args="(int __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator+=</b> (int __rhs) <li><a class="anchor" id="a39238f90144b1a23b2c6685e4222d8da"></a><!-- doxytag: member="std::decimal::decimal32::operator+=" ref="a39238f90144b1a23b2c6685e4222d8da" args="(decimal32 __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator+=</b> (<a class="el" href="a00450.html">decimal32</a> __rhs) <li><a class="anchor" id="aeddc700732a738a85f07128dbca1d50e"></a><!-- doxytag: member="std::decimal::decimal32::operator+=" ref="aeddc700732a738a85f07128dbca1d50e" args="(decimal64 __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator+=</b> (<a class="el" href="a00451.html">decimal64</a> __rhs) <li><a class="anchor" id="a65ae7464f7a958229ffc1704db19d8df"></a><!-- doxytag: member="std::decimal::decimal32::operator+=" ref="a65ae7464f7a958229ffc1704db19d8df" args="(decimal128 __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator+=</b> (<a class="el" href="a00449.html">decimal128</a> __rhs) <li><a class="anchor" id="a7d8a14f9ba3fd1b48e18084f7928d743"></a><!-- doxytag: member="std::decimal::decimal32::operator+=" ref="a7d8a14f9ba3fd1b48e18084f7928d743" args="(unsigned int __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator+=</b> (unsigned int __rhs) <li><a class="anchor" id="a1f9fe35464283c2567ccfac647ab65e1"></a><!-- doxytag: member="std::decimal::decimal32::operator+=" ref="a1f9fe35464283c2567ccfac647ab65e1" args="(long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator+=</b> (long __rhs) <li><a class="anchor" id="adebd469ff933e9004dde2be22f967205"></a><!-- doxytag: member="std::decimal::decimal32::operator+=" ref="adebd469ff933e9004dde2be22f967205" args="(unsigned long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator+=</b> (unsigned long __rhs) <li><a class="anchor" id="a9610a2aaf1c19c4d30b5aa528988d00b"></a><!-- doxytag: member="std::decimal::decimal32::operator+=" ref="a9610a2aaf1c19c4d30b5aa528988d00b" args="(long long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator+=</b> (long long __rhs) <li><a class="anchor" id="ab0b17efd331244b9863fd5ae63c8a371"></a><!-- doxytag: member="std::decimal::decimal32::operator+=" ref="ab0b17efd331244b9863fd5ae63c8a371" args="(unsigned long long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator+=</b> (unsigned long long __rhs) <li><a class="anchor" id="a21dc3487fc04a78dbc2cbaf21515a604"></a><!-- doxytag: member="std::decimal::decimal32::operator--" ref="a21dc3487fc04a78dbc2cbaf21515a604" args="()" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator--</b> () <li><a class="anchor" id="afe7b58735aea551630ad9fa1b0708821"></a><!-- doxytag: member="std::decimal::decimal32::operator--" ref="afe7b58735aea551630ad9fa1b0708821" args="(int)" --> <a class="el" href="a00450.html">decimal32</a> <b>operator--</b> (int) <li><a class="anchor" id="a610b71bce8e4b416f5c4fe052c5c3d93"></a><!-- doxytag: member="std::decimal::decimal32::operator-=" ref="a610b71bce8e4b416f5c4fe052c5c3d93" args="(long long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator-=</b> (long long __rhs) <li><a class="anchor" id="a2a66457de028bfbb4f9a1f4ab98f003c"></a><!-- doxytag: member="std::decimal::decimal32::operator-=" ref="a2a66457de028bfbb4f9a1f4ab98f003c" args="(long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator-=</b> (long __rhs) <li><a class="anchor" id="a752b79d1c676b00bc428f4f9977ebfb3"></a><!-- doxytag: member="std::decimal::decimal32::operator-=" ref="a752b79d1c676b00bc428f4f9977ebfb3" args="(int __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator-=</b> (int __rhs) <li><a class="anchor" id="afeefbc854b1677db6680a0ee41abfbfd"></a><!-- doxytag: member="std::decimal::decimal32::operator-=" ref="afeefbc854b1677db6680a0ee41abfbfd" args="(decimal32 __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator-=</b> (<a class="el" href="a00450.html">decimal32</a> __rhs) <li><a class="anchor" id="ae0334621acbd2e9910b0a5a9eb1251aa"></a><!-- doxytag: member="std::decimal::decimal32::operator-=" ref="ae0334621acbd2e9910b0a5a9eb1251aa" args="(unsigned long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator-=</b> (unsigned long __rhs) <li><a class="anchor" id="a9f6f700ba16ed08afc228083bf0eb647"></a><!-- doxytag: member="std::decimal::decimal32::operator-=" ref="a9f6f700ba16ed08afc228083bf0eb647" args="(decimal128 __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator-=</b> (<a class="el" href="a00449.html">decimal128</a> __rhs) <li><a class="anchor" id="ab998e03703a63fe972b06dffb3f34958"></a><!-- doxytag: member="std::decimal::decimal32::operator-=" ref="ab998e03703a63fe972b06dffb3f34958" args="(unsigned long long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator-=</b> (unsigned long long __rhs) <li><a class="anchor" id="a64af602a669815a78e70df5440ad2eb3"></a><!-- doxytag: member="std::decimal::decimal32::operator-=" ref="a64af602a669815a78e70df5440ad2eb3" args="(unsigned int __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator-=</b> (unsigned int __rhs) <li><a class="anchor" id="ae81bc6adba9abfea400370953f4e9c5b"></a><!-- doxytag: member="std::decimal::decimal32::operator-=" ref="ae81bc6adba9abfea400370953f4e9c5b" args="(decimal64 __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator-=</b> (<a class="el" href="a00451.html">decimal64</a> __rhs) <li><a class="anchor" id="a5b96b23fb25eed844cf94d18272e78be"></a><!-- doxytag: member="std::decimal::decimal32::operator/=" ref="a5b96b23fb25eed844cf94d18272e78be" args="(decimal64 __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator/=</b> (<a class="el" href="a00451.html">decimal64</a> __rhs) <li><a class="anchor" id="aa0f4fbb75890c5cc640dfabc08848dc6"></a><!-- doxytag: member="std::decimal::decimal32::operator/=" ref="aa0f4fbb75890c5cc640dfabc08848dc6" args="(long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator/=</b> (long __rhs) <li><a class="anchor" id="aa74943bec5f7f4467f071cb1c6323c80"></a><!-- doxytag: member="std::decimal::decimal32::operator/=" ref="aa74943bec5f7f4467f071cb1c6323c80" args="(long long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator/=</b> (long long __rhs) <li><a class="anchor" id="a33c52de61140b54aaddeb597ece7af36"></a><!-- doxytag: member="std::decimal::decimal32::operator/=" ref="a33c52de61140b54aaddeb597ece7af36" args="(decimal32 __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator/=</b> (<a class="el" href="a00450.html">decimal32</a> __rhs) <li><a class="anchor" id="abec15b65f6e69b8531236f86a34ec533"></a><!-- doxytag: member="std::decimal::decimal32::operator/=" ref="abec15b65f6e69b8531236f86a34ec533" args="(unsigned int __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator/=</b> (unsigned int __rhs) <li><a class="anchor" id="aa5d06f49bd1ddbeeebfb5dabe9c8fa02"></a><!-- doxytag: member="std::decimal::decimal32::operator/=" ref="aa5d06f49bd1ddbeeebfb5dabe9c8fa02" args="(unsigned long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator/=</b> (unsigned long __rhs) <li><a class="anchor" id="ae0a2bd8bcef00695ff06873254a24b31"></a><!-- doxytag: member="std::decimal::decimal32::operator/=" ref="ae0a2bd8bcef00695ff06873254a24b31" args="(unsigned long long __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator/=</b> (unsigned long long __rhs) <li><a class="anchor" id="a49fffefb6f2ddea2614f285045b85614"></a><!-- doxytag: member="std::decimal::decimal32::operator/=" ref="a49fffefb6f2ddea2614f285045b85614" args="(decimal128 __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator/=</b> (<a class="el" href="a00449.html">decimal128</a> __rhs) <li><a class="anchor" id="a2271a418d1267ae6929e69d0738fce69"></a><!-- doxytag: member="std::decimal::decimal32::operator/=" ref="a2271a418d1267ae6929e69d0738fce69" args="(int __rhs)" --> <a class="el" href="a00450.html">decimal32</a> & <b>operator/=</b> (int __rhs) </ul> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>3.2.2 Class <a class="el" href="a00450.html" title="3.2.2 Class decimal32.">decimal32</a>. </p> <p>Definition at line <a class="el" href="a00854_source.html#l00227">227</a> of file <a class="el" href="a00854_source.html">decimal</a>.</p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a0a56ec8df48bee17d6c22c53c0f160f8"></a><!-- doxytag: member="std::decimal::decimal32::decimal32" ref="a0a56ec8df48bee17d6c22c53c0f160f8" args="(__decfloat32 __z)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::decimal::decimal32::decimal32 </td> <td>(</td> <td class="paramtype">__decfloat32 </td> <td class="paramname"><em>__z</em></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Conforming extension: Conversion from scalar decimal type. </p> <p>Definition at line <a class="el" href="a00854_source.html#l00251">251</a> of file <a class="el" href="a00854_source.html">decimal</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="a00854_source.html">decimal</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="a01137.html">std</a> </li> <li class="navelem"><a class="el" href="a01149.html">decimal</a> </li> <li class="navelem"><a class="el" href="a00450.html">decimal32</a> </li> <li class="footer">Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li> </ul> </div> </body> </html>