Hello list,

we wish to have the bug below handled ASAP and are looking for at
least a year of full support for our existing Sun hardware running
Opensolaris.
Which support options does Oracle provide for Opensolaris?
How can we get forward?
How can we archive a quick solution for our existing problem?

Nicolas

---------- Forwarded message ----------
From: Nicholas George <nicholas.george.homeoff...@googlemail.com>
Date: 19 May 2010 00:31
Subject: BUG: 'integer -a z=( [1]=90 ) ; function x { nameref nz=$1 ;
print " $((log10(nz)))==$((log10($nz)))" ; } ; x z[1]' prints two
different values
To: ksh93-integration-disc...@opensolaris.org,
shell-disc...@opensolaris.org, indiana-disc...@opensolaris.org


Hello list,

during development of an analysis/simulation software for a customer
we ran into a nasty bug in Indiana ksh. We would appreciate any help,
this is currently a development blocker because our software prototype
should be implemented in a scripting language and Solaris perl lacks
sufficient floating point resolution.

Reproducible: Always
Steps to Reproduce:
Run ksh -c 'integer -a z=( [1]=90 ) ; function x { nameref nz=$1 ;
print " $((log10(nz)))==$((log10($nz)))" ; } ; x z[1]'

Actual Results:
The shell will print:
 -inf==1.95424250943932487459005580651023

Expected Results:
The shell should print identical values
 1.95424250943932487459005580651023==1.95424250943932487459005580651023

Evaluation:
This bug only happens if the value in the array is accessed via a
nameref variable, the array index is greater than 0 and nz is not
dereferenced as string like in the second call to log10().

Nicolas
--
Nicholas George
MBDA System Integration (home office)



-- 
Nicholas George
MBDA System Integration (home office)
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to