Announcement

Collapse
No announcement yet.

FIX question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mike Luther
    replied
    Thanks Michael ..

    That's what I thought, but I wanted someone else's support before
    I went off chasing this one. 20 times 20 to the 7th power or more
    is a lot of room for error, chuckle.



    ------------------
    Mike Luther
    [email protected]

    Leave a comment:


  • Michael Mattias
    replied
    Integer Division will handle that..

    FIX (A&/B&) = A&\B&


    Leave a comment:


  • Mike Luther
    replied
    Yes, Mike .. correct. But in this case what I was intending to
    do was to divide one by the other, or whatever, and use the FIX
    technique to munch the answer at the time of the divide. Such as
    in FIX(A&&/B&&) or like that. Until it got above a 'correct' next
    division operation, we would have a remaining part for the division
    which if I used the technique correctly would only produce a 'clean'
    result for each 10, 20, whatever steps I wanted. Doing this in a
    non-FIX way usually produces the next higher integer after you get
    to the mid point in the operation.




    ------------------
    Mike Luther
    [email protected]

    Leave a comment:


  • Michael Mattias
    replied
    Come to think of it, FIX or INT versus a %,& or && is equally silly, since neither INTEGER, LONG or QUAD have decimal parts.

    Leave a comment:


  • Michael Mattias
    replied
    Um, pointers have no fractional part. Using FIX or INT against one of these numbers is a waste of time.


    Leave a comment:


  • Mike Luther
    started a topic FIX question

    FIX question

    Does the FIX function work correctly on not only simple integers
    such as the '%' variety, but also '&' and '&&' as well? I'm now
    being forced to deal with very huge linked list pointers into
    upwards of seventh generation 'children' and need to be able to
    focus all children of a particular parent to a starting pointer
    in that family which I can do with it if this is true.

    Thanks!


    ------------------
    Mike Luther
    [email protected]
Working...
X