Changeset 8c2815d in git


Ignore:
Timestamp:
Feb 25, 2013, 11:14:07 AM (10 years ago)
Author:
Yue Ren <ren@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '5a0dde71de01068fad5736a17555c993ecbbf495')
Children:
26ebc69791aa463ad9adef87b7a8ee64433b8d6b
Parents:
2ad7541722e5fa0e6f54847c371628902a726b94
git-author:
Yue Ren <ren@mathematik.uni-kl.de>2013-02-25 11:14:07+01:00
git-committer:
Yue Ren <ren@mathematik.uni-kl.de>2013-02-25 11:18:38+01:00
Message:
fix: missing sign when converting number to float
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Tst/Manual/Long_coefficients.res.gz.uu

    r2ad754 r8c2815d  
    1 begin 644 Long_coefficients.res.gz
    2 M'XL("(ZNRU```TQO;F=?8V]E9F9I8VEE;G1S+G)E<P"5EUU/(]D1AN_G5[16
    3 MN3#3N.=4G>\@N$BB2"M%N=C-W6JR,M`PC<!&MIG@_/H\U:;;3&:U2A@-=O>I
    4 MJO-6U5L?_/R/O_SX]Z9IY*KYVX]_:G[8[_;=XW#]PT7#MU^'];!?G%U\L,_F
    5 M"I'-^O[7FTU_=S?<#/UZO^O6_;^ZW7ZU__#SFR&]:O;#4[]M+ANY:'[WY].G
    6 M9G6S'[ZN]GVS_](?]69#_JK9#NO[YB>'*7>^>#T_G)T_/E_,`N&J>=X\'IH[
    7 MSE]C>Q!I7P^U??6'>A**5\UPVZ\>FP&IA]7-YGIQ=W8Z3O.Q<#Z<#[_(YX_#
    8 M+_KY>^B@?5G?]G>;[5-_>]2:S>39C'YKII5/XL:?CZ_Q4"Y&,T<CJ_VP63>;
    9 M.ZZ>[13L$+5!";E@XS*^AM:_*FX=JKW2SY<5!TM;7_DE<A!GK_WGRQ!?,Z\T
    10 M<X_DED?N:R,&D&E]0HO7WHQ)-76>3!^S^OU-^MLWZ6_>-/HW._H_WSLY7:?@
    11 M/1"[W?YV,<@I0^*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`@8[`3X)@`IIUQO#+A5^5$A#D
     36M2:!+-)@V".(D$-/@\IA!G6'0V2<,K@\[5EW7.C<))J8R\9@PF/R+M&+RG3`8
     37M[(O\JC$18VSC2RPZ@QZ9YG1RCIEK&EYG4)V.=3)CR$0]E1G#F8!Q>"+&H(,8
     38MP^*$P2"#&`/T1(PYM8AHS*!,(3"8-#/&1(Q1/`O<G+SP[:2@P:G6]>ZVN5[O
     39MZ48*82J.;]?LN7S5.K$;7K\63`6UZX:7W<8*W>RVN_Z^W]`(KRJS(1TY;Y?Z
     40MKICRVW8Y;X;)+J9IZ>7Z8706[N76UB(F__%BBUJG;38%UK-@TW[)A<(E8,.5
     41E*6]O?F=>:GDW'\(;219A^])E7Z=>]@N6X#]\^`\]'HC0GPT`````
    4242`
    4343end
  • Tst/Manual/Long_coefficients.stat

    r2ad754 r8c2815d  
    1 1 >> tst_memory_0 :: 1355525762:3150:3-1-5:x86_64-Linux:snork:217888
    2 1 >> tst_memory_1 :: 1355525762:3150:3-1-5:x86_64-Linux:snork:2252400
    3 1 >> tst_memory_2 :: 1355525762:3150:3-1-5:x86_64-Linux:snork:2285200
    4 1 >> tst_timer_1 :: 1355525762:3150:3-1-5:x86_64-Linux:snork:1
     11 >> tst_memory_0 :: 1361787387:3.1.3.sw $Id$:spielwiese:version:mandelbrot:114184
     21 >> tst_memory_1 :: 1361787387:3.1.3.sw $Id$:spielwiese:version:mandelbrot:2215936
     31 >> tst_memory_2 :: 1361787387:3.1.3.sw $Id$:spielwiese:version:mandelbrot:2215936
     41 >> tst_timer_1 :: 1361787387:3.1.3.sw $Id$:spielwiese:version:mandelbrot:1
  • libpolys/coeffs/shortfl.cc

    r2ad754 r8c2815d  
    449449    signed long int exp;
    450450    basis = mpf_get_d_2exp(&exp, e);
    451     float f = ldexp(basis,exp);
     451    float f= mpf_sgn(e)*ldexp(basis,exp);
    452452    mpf_clear(e);
    453453    return nf(f).N();
     
    475475  signed long int exp;
    476476  basis = mpf_get_d_2exp(&exp, q);
    477   float f = ldexp(basis,exp);
     477  float f = mpf_sgn(e)*ldexp(basis,exp);
    478478  mpf_clear(e);
    479479  mpf_clear(d);
Note: See TracChangeset for help on using the changeset viewer.