Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

different result exponent pb9 vs pb11.5

$
0
0

Hi All,

 

I do a conversion from pb9 to pb11.5 and there is some calculation that give not the same result on both versions. The problem is following script:

 

integer ii_number

double ld_nr

 

ii_number=69 //in the script from 1 to 999, but 32 to 96 have other results

ld_nr=ii_number^9.417

 

In pb9     : ld_nr=2.072248755415554E+17

 

In pb11.5 : ld_nr=2.07224875541556E+17

 

The last digits are different, afterwards there is a mod(...), so the script uses the last digits. They used a datatype to little, but I can't change it because the results are used in other programs(hardcoded).

 

Have someone an idea how we have the exact same result on pb11.5?


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>