Menu

#24 conversion of (-foo+blar) expressions drops the - sign

v0.2
open
9
2004-02-29
2004-02-18
Anonymous
No

When converting VB code containing arithmetic
expressions like

a = 1.0 / (-foo + bar )

the minus sign is sometimes lost.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    explicitly the followin expression caused the error

    pSatW = (2 * cco / (-bco + (bco ^ 2 - 4 * aco * cco) ^ 0.5))
    ^ 4 * 10

     
  • Paul Paterson

    Paul Paterson - 2004-02-29

    Logged In: YES
    user_id=398620

    Ouch, this looks pretty serious - not easy to spot.

    Thanks for reporting this!

     
  • Paul Paterson

    Paul Paterson - 2004-02-29
    • milestone: --> v0.2
    • priority: 5 --> 9
    • assigned_to: nobody --> paulpaterson
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.