<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Kirill,</p>
<p>GMPField can essentially be used like any other floating-point
type. But, not all utility functions, like
`std::numeric_limits<GMPField>`, are completely available.
Also some mathematical functions might not be implemented for
GMPField. It is mainly used in some tests for accuracy of the
implementation of some functionality.</p>
<p>I have (long time ago) implemented a replacement of GMP with mpfr
that has a slightly more complete set of operations and utilities
and is still maintained. I used it (to some extend) as field type
in a finite-element assembling in combination with iterative
solvers.<br>
</p>
<p>What do you mean be `str()` function? What should this return? Is
it supposed to be a member function? or free function? Why do you
expect a floating-point type to have such a function?</p>
<p>Best regards,<br>
Simon<br>
</p>
<div class="moz-cite-prefix">Am 08.06.21 um 09:39 schrieb Kirill
Volyanskiy:<br>
</div>
<blockquote type="cite"
cite="mid:CAGvEsQr70-2MJGN=-JpT3GG0DzXdD8vytd7Zz-5WSa_PTd0L6w@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hello,</div>
<div>Is there any guide on using the GMPField? I've tried to use
it but got many errors in some modules like absence of str()
function etc.</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Kirill<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Dune mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune@lists.dune-project.org">Dune@lists.dune-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.dune-project.org/mailman/listinfo/dune">https://lists.dune-project.org/mailman/listinfo/dune</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Dr. Simon Praetorius
Technische Universität Dresden
Institute of Scientific Computing
phone: +49 351 463-34432
mail: <a class="moz-txt-link-abbreviated" href="mailto:simon.praetorius@tu-dresden.de">simon.praetorius@tu-dresden.de</a>
web: <a class="moz-txt-link-freetext" href="https://tu-dresden.de/mn/math/wir/das-institut/beschaeftigte/simon-praetorius">https://tu-dresden.de/mn/math/wir/das-institut/beschaeftigte/simon-praetorius</a></pre>
</body>
</html>