See ChangeLog entry 19990818-19:20 EDT David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
1999-08-18 23:33:57 +00:00
parent 4e8da1ec50
commit c1b8af720f
2 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
19990818-19:20 EDT David G. Holm <dholm@jsd-llc.com>
* source/vm/hvm.c
* Added TODO: comment to indicate that the divide by zero check
needs to be removed once proper divide by zero error handling
has been added to Harbour.
19990818-18:45 EDT David G. Holm <dholm@jsd-llc.com>
* config/os2/icc.cf
! Fix to only use RDD libraries when RDD library is specified.

View File

@@ -821,10 +821,8 @@ void hb_vmDivide( void )
double d2 = hb_vmPopDouble( &wDec2 );
double d1 = hb_vmPopDouble( &wDec1 );
/* NOTE: Clipper always returns the result of a division
with the SET number of decimal places, unless the
divisor is zero, in which case the result is zero
with zero decimal places. */
/* TODO: Remove the if zero, return zero code once the proper
error handling for divide by zero has been added. */
if( d2 == 0.0 )
hb_vmPushInteger( 0 );
else