14b6a78b7SSimon Schubert /* mpf_size(x) -- return the number of limbs currently used by the 24b6a78b7SSimon Schubert value of the float X. 34b6a78b7SSimon Schubert 44b6a78b7SSimon Schubert Copyright 1993, 1994, 1995, 2001 Free Software Foundation, Inc. 54b6a78b7SSimon Schubert 64b6a78b7SSimon Schubert This file is part of the GNU MP Library. 74b6a78b7SSimon Schubert 84b6a78b7SSimon Schubert The GNU MP Library is free software; you can redistribute it and/or modify 94b6a78b7SSimon Schubert it under the terms of the GNU Lesser General Public License as published by 104b6a78b7SSimon Schubert the Free Software Foundation; either version 3 of the License, or (at your 114b6a78b7SSimon Schubert option) any later version. 124b6a78b7SSimon Schubert 134b6a78b7SSimon Schubert The GNU MP Library is distributed in the hope that it will be useful, but 144b6a78b7SSimon Schubert WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 154b6a78b7SSimon Schubert or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 164b6a78b7SSimon Schubert License for more details. 174b6a78b7SSimon Schubert 184b6a78b7SSimon Schubert You should have received a copy of the GNU Lesser General Public License 194b6a78b7SSimon Schubert along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ 204b6a78b7SSimon Schubert 214b6a78b7SSimon Schubert #include "gmp.h" 224b6a78b7SSimon Schubert #include "gmp-impl.h" 234b6a78b7SSimon Schubert 244b6a78b7SSimon Schubert size_t mpf_size(mpf_srcptr f)25*d2d4b659SJohn Marinompf_size (mpf_srcptr f) __GMP_NOTHROW 264b6a78b7SSimon Schubert { 274b6a78b7SSimon Schubert return __GMP_ABS (f->_mp_size); 284b6a78b7SSimon Schubert } 29