Menu

Is Floating Point in the latest release V0.98.02?

2018-09-20
2018-09-22
  • John Benedict

    John Benedict - 2018-09-20

    Some of the searches that I have done imply that Floating Point is in the latest release V0.98.02 but best that I can tell, it is not.

    Searching for "floating point" turned this up
    Updated Compiler Lots of improvements including introduction of floating point New and updated

    I don't really need FP for my projects but it would be very useful and time saving in doing A/D measurements.

     
  • Anobium

    Anobium - 2018-09-21

    Good spot. The basics are included.

    However, and it is a big however, you cannot really use beyond the basic assignment and addition. We will update in the next release to improve support for floating point.

    So, if you want to try the new unpublished compiler I will include you in the test program when we commence the further development of the capability.

     
  • stan cartwright

    stan cartwright - 2018-09-21

    FP would make c++ programs easier to convert. I have many that use pi. I thought of using long vars and multiplying every thing by 1000 then doing the sums then dividing by 1000...don't work.

     
  • Anobium

    Anobium - 2018-09-21

     
  • William Roth

    William Roth - 2018-09-22

    Very funny. ha ha

     
  • stan cartwright

    stan cartwright - 2018-09-22

    It's getting gcb to parse decimal point numbers...it doesn't.

     
  • Anobium

    Anobium - 2018-09-22

    Stan when they do get implemented - the impact on all the libraries will cause hundreds of hours of work. Every output method will have to be adapted to support the new types.

    The release program will be months to go through the libraries. It will not be an overnight thing.

     
    • stan cartwright

      stan cartwright - 2018-09-22

      There recently was a thread about using strings to do decimal point sums. I can't see why not try a sub for doing an equation assuming you want to display a result.
      I have a laser range finder that needs pi to give a distance measurement from c++ driver code.
      You can do only so much trig without pi.
      Implementing it as an after thought would not be trivial.
      The gcb editor would need to see decimal point numbers and new float type variables would be needed.
      If multiplication is adding a number to itself x times...what is division?

       

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.