[BACK]Return to bload.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / io

Diff for /OpenXM_contrib2/asir2000/io/bload.c between version 1.17 and 1.18

version 1.17, 2015/08/04 06:20:45 version 1.18, 2017/08/31 09:11:04
Line 44 
Line 44 
  * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY   * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  * $OpenXM: OpenXM_contrib2/asir2000/io/bload.c,v 1.16 2009/03/16 16:43:03 ohara Exp $   * $OpenXM: OpenXM_contrib2/asir2000/io/bload.c,v 1.17 2015/08/04 06:20:45 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 135  void loadbf(FILE *s,BF *p)
Line 135  void loadbf(FILE *s,BF *p)
   mpfr_init2(r->body,prec);    mpfr_init2(r->body,prec);
   MPFR_SIGN(r->body) = sgn;    MPFR_SIGN(r->body) = sgn;
         MPFR_EXP(r->body) = (int)exp;          MPFR_EXP(r->body) = (int)exp;
   #if defined(VISUAL)
   #if !defined(_WIN64)
           read_intarray(s,(int *)r->body->_mpfr_d,len);
   #else
           read_longarray(s,(long long*)r->body->_mpfr_d,len);
   #endif
   #else
 #if SIZEOF_LONG == 4  #if SIZEOF_LONG == 4
         read_intarray(s,(int *)r->body->_mpfr_d,len);          read_intarray(s,(int *)r->body->_mpfr_d,len);
 #else /* SIZEOF_LONG == 8 */  #else /* SIZEOF_LONG == 8 */
         read_longarray(s,(long *)r->body->_mpfr_d,len);          read_longarray(s,(long *)r->body->_mpfr_d,len);
   #endif
 #endif  #endif
         *p = r;          *p = r;
 }  }

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>