AnsweredAssumed Answered

Formatting problem or bug?

Question asked by VRFuser on Sep 3, 1997
hpvxd_xc@hpislsup.lvld.hp.com

Formatting problem or bug?

Whenever I use a structure similiar to that in the included small
example
programm the output for certain real values becomes irregular,
independent from
the global number format.
I'm working with HP VEE 3.12  and WfW 3.11.

GNF eV.
Klaus-Peter Francke
Rudower Chaussee 5
D-12489 Berlin
eMail: I.U.T.@t-online.de


Program example:

#! C:VEE3/vee -r
(saveFormat "1.2")
(date "Wed 04/Jun/1997")
(SaveCF "no")
(filterNAN 0)
(component 0 "ROOTCONTEXT"
(name "Untitled")
(interface
)
(implementation
  (locked no)
  (trigMode deg)
  (nextID 10)
  (component 0 "ALLOCATEARRAY"
   (name "Alloc Real")
   (subType "Alloc_Real")
   (interface
    (sequence in)
    (sequence out)
    (output 1
     (name "Array")
     (tag "Array")
     (lock constraints)
    )
   )
   (implementation
    (component numDims 1)
    (component dimSizes "21")
    (component type "Real")
    (component initEnum "Lin Ramp")
    (component initialValue
     (data  0.6     )
    )
    (component from 0)
    (component thru 2)
   )
   (views
    (icon
     (origin 76 172)
     (extent 69 16)
    )
    (detail
     (origin 1 122)
     (extent 208 117)
    )
    (terminals on)
    (active icon)
   )
  )
  (component 1 "ALLOCATEARRAY"
   (name "Alloc Real")
   (subType "Alloc_Real")
   (interface
    (sequence in)
    (sequence out)
    (output 1
     (name "Array")
     (tag "Array")
     (lock constraints)
    )
   )
   (implementation
    (component numDims 1)
    (component dimSizes "21")
    (component type "Real")
    (component initEnum "Lin Ramp")
    (component initialValue
     (data  4.8     )
    )
    (component from 0)
    (component thru 8)
   )
   (views
    (icon
     (origin 76 232)
     (extent 69 16)
    )
    (detail
     (origin 1 182)
     (extent 208 117)
    )
    (terminals on)
    (active icon)
   )
  )
  (component 2 "FORMULA"
   (name "a + b")
   (subType "add")
   (interface
    (sequence in)
    (sequence out)
    (input 1
     (name "A")
     (optional yes)
    )
    (input 2
     (name "B")
     (optional yes)
    )
    (output 1
     (name "Result")
     (lock name constraints)
    )
   )
   (implementation
    (component expr 1 "B+inttochar(9)+A")
   )
   (views
    (icon
     (origin 282 198)
     (extent 36 25)
    )
    (detail
     (origin 230 205)
     (extent 141 50)
    )
    (terminals on)
    (active icon)
   )
  )
  (component 3 "TEXTDISPLAY"
   (interface
    (sequence in)
    (sequence out)
    (input 1
     (name "Data")
    )
   )
   (implementation
    (component clearAtPrerun 1)
    (component clearAtActivate 1)
   )
   (views
    (icon
     (origin 513 202)
     (extent 95 16)
    )
    (detail
     (origin 396 106)
     (extent 328 209)
    )
    (active detail)
   )
  )
  (configuration
   (connect D0:1 D2:1)
   (connect D1:1 D2:2)
   (connect D2:1 D3:1)
  )
)
(views
  (detail
   (origin 0 24)
   (extent 800 538)
   (configuration
    (connect D0:1 D2:1
     (Point 147 180)
     (Point 170 180)
     (Point 170 200)
     (Point 279 200)
    )
    (connect D1:1 D2:2
     (Point 147 240)
     (Point 170 240)
     (Point 170 220)
     (Point 279 220)
    )
    (connect D2:1 D3:1
     (Point 320 210)
     (Point 393 210)
    )
   )
   (stackingOrder 2 0 1 3)
  )
  (active detail)
  (numberFormats
   (realFormat standard)
   (realSigDigits 4)
   (realRadixSpec 4)
   (integerBase decimal)
  )
)
)


Outcomes