mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
148900b4ed
commit
5266f625b8
@ -197,7 +197,7 @@ inline PyObject* tag_float(f64 val){
|
|||||||
// decomposed.print();
|
// decomposed.print();
|
||||||
// std::cout << "exp: " << decomposed.exp() << std::endl;
|
// std::cout << "exp: " << decomposed.exp() << std::endl;
|
||||||
int exp_7b = decomposed.exp() - BitsCvt::C0;
|
int exp_7b = decomposed.exp() - BitsCvt::C0;
|
||||||
std::cout << "exp_7b: " << exp_7b << std::endl;
|
// std::cout << "exp_7b: " << exp_7b << std::endl;
|
||||||
if(exp_7b < BitsCvt::C1){
|
if(exp_7b < BitsCvt::C1){
|
||||||
exp_7b = BitsCvt::C1 - 1; // -63 + 63 = 0
|
exp_7b = BitsCvt::C1 - 1; // -63 + 63 = 0
|
||||||
decomposed.zero_mantissa();
|
decomposed.zero_mantissa();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user