See ChangeLog 19990804-00:35 EDT David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
1999-08-04 04:56:55 +00:00
parent 9898acfce0
commit 28a6c54b54
3 changed files with 20 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
19990804-00:35 EDT David G. Holm <dholm@jsd-llc.com>
* source/vm/hvm.c
! Corrected Power() to set the correct number of decimal points.
* tests/working/build.bat
+ Added checks for HB_ARCHITECTURE and HB_COMPILER.
+ Modified to always build the target.
19990804-00:40 EDT Paul Tucker <ptucker@sympatico.ca>
* source/rtl/gt/gtwin.c
* corrected screen buffer size for dispbegin

View File

@@ -1603,7 +1603,9 @@ void Power( void )
double d2 = PopDouble( &wDec2 );
double d1 = PopDouble( &wDec1 );
PushNumber( pow( d1, d2 ), (wDec1>wDec2) ? wDec1 : wDec2 );
/* NOTE: Clipper always returns the result of power
with the SET number of decimal places. */
PushNumber( pow( d1, d2 ), hb_set.HB_SET_DECIMALS );
}
void PushLogical( int iTrueFalse )

View File

@@ -1,3 +1,13 @@
@echo off
if %hb_architecture%.==. goto bad_arch
if %hb_compiler%.==. goto bad_comp
if exist %hb_architecture\%hb_compiler\%1.* del %hb_architecture\%hb_compiler\%1.*
make -r "PRG_SOURCES=%1.prg"
if not errorlevel 1 %hb_architecture\%hb_compiler\%1 %2 %3 %4 %5 %6 %7 %8 %9
goto exit
:bad_arch
Echo HB_ARCHITECTURE is not set.
goto exit
:bad_comp
Echo HB_COMPILER is not set.
:exit