mirror of
https://github.com/louisrubet/rpn
synced 2025-01-01 18:20:06 +01:00
#44: debug get_binary_bin
This commit is contained in:
parent
d808cff98b
commit
dce5743ddf
1 changed files with 1 additions and 1 deletions
|
@ -414,8 +414,8 @@ static bool get_binary_bin(const string& entry, program& prog, string& remaining
|
||||||
if (entry.at(i+1)=='1')
|
if (entry.at(i+1)=='1')
|
||||||
{
|
{
|
||||||
val+=exponent;
|
val+=exponent;
|
||||||
exponent/=2;
|
|
||||||
}
|
}
|
||||||
|
exponent>>=1;
|
||||||
}
|
}
|
||||||
|
|
||||||
binary* new_binary = (binary*)prog.allocate_back((unsigned int)sizeof(binary), cmd_binary);
|
binary* new_binary = (binary*)prog.allocate_back((unsigned int)sizeof(binary), cmd_binary);
|
||||||
|
|
Loading…
Reference in a new issue