Branch: Tag:

2001-02-20

2001-02-20 13:02:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Various f_cast()-related fixes.

Rev: src/interpret_functions.h:1.47
Rev: src/module_support.c:1.40
Rev: src/modules/Gmp/mpz_glue.c:1.88
Rev: src/modules/files/file.c:1.212
Rev: src/opcodes.c:1.100
Rev: src/operators.c:1.124

6:   /**/   #include "global.h"   #include <math.h> - RCSID("$Id: operators.c,v 1.123 2001/02/08 19:28:10 grubba Exp $"); + RCSID("$Id: operators.c,v 1.124 2001/02/20 13:02:12 grubba Exp $");   #include "interpret.h"   #include "svalue.h"   #include "multiset.h"
806: Inside #if defined(AUTO_BIGNUM)
   if(is_bignum_object_in_svalue(sp-2) && sp[-1].type==T_FLOAT)    {    stack_swap(); -  push_constant_text(tFloat); +  ref_push_type_value(float_type_string);    stack_swap();    f_cast();    stack_swap();
814: Inside #if defined(AUTO_BIGNUM)
   }    else if(is_bignum_object_in_svalue(sp-1) && sp[-2].type==T_FLOAT)    { -  push_constant_text(tFloat); +  ref_push_type_value(float_type_string);    stack_swap();    f_cast();    return 1;