change exponent from int16_t to int8_t to free up some space

This commit is contained in:
Jeff Wang
2019-04-05 02:17:10 -04:00
parent 836d4fc122
commit fcf16153f6
6 changed files with 61 additions and 44 deletions

View File

@ -25,7 +25,7 @@ static void pop(){
StackPtr++; //adjust pointer
}
void push_decn(const char* signif_str, int16_t exponent, uint8_t no_lift){
void push_decn(const char* signif_str, int8_t exponent, uint8_t no_lift){
if (!no_lift){
StackPtr--;
}
@ -36,7 +36,7 @@ void clear_x(void){
set_dec80_zero(&stack(STACK_X));
}
void set_x(const char* signif_str, int16_t exponent){
void set_x(const char* signif_str, int8_t exponent){
build_dec80(&stack(STACK_X), signif_str, exponent);
}