fixed: template Big::FromBig(const Big<another_exp, another_man> & another)

didn't correctly set the exponent (when the mantisses had different size -
       when 'man' was different from 'another_man')
       this had impact on operator= too
       sample:
       Big<2,3> a = 100;
       Big<3,5> b;
       b = a; // b had a wrong value


git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@106 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2009-03-24 20:34:33 +00:00
parent 460608859c
commit 3899b8631c
2 changed files with 27 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
Copyright (c) 2006-2008, Tomasz Sowa
Copyright (c) 2006-2009, Tomasz Sowa
All rights reserved.
Redistribution and use in source and binary forms, with or without