Menu

GCBASIC: FLOATS - Recommended for evaluation and testing

Anobium
2021-07-18
2024-10-19
  • Anobium

    Anobium - 2021-07-18

    This thread is a place holder for the final development and testing of the float capability for GCBASIC.

    News 04.04.2024 - Build 1381

    We have made great progress with the floats implementation

    Progress

    See here https://sourceforge.net/p/gcbasic/discussion/579125/thread/e777a80dfa/?limit=25#9b84.

    Download

    The Floats capability is now general release via GCSTUDIO download. Linux build will follow in late April 24.

     

    Last edit: Anobium 2024-04-04
  • Anobium

    Anobium - 2021-07-18

    Issues

    Please respond this post with new ( or updating ) issues. Please post the issue and the source code.

     

    Last edit: Anobium 2021-07-18
  • David Briscoe

    David Briscoe - 2023-04-18

    Hi,
    What is the current status relating to this thread? What works and what does not work? Tnanks.

    David.

     
  • Andye

    Andye - 2024-09-05

    When comes the AVR float support?

     
  • Anobium

    Anobium - 2024-09-05

    We need someone with deep level of AVR ASM to assist with creation of two libraries. The rest of AVR support is complete... just need some help to complete.

     
  • vincenzo compare

    Hello ,
    I'm new with gcbasic.
    I wrote some code to send midi messages based on potentiometer values and other stuff. The values read from the pots are assigned to a Single variable because I do some math on the value, then the program writes it on an lcd. The value should range from 0 to 127. After this section there is some lines to read status from buttons. The problem is that the code worked ok until I decided to move the part reading buttons in a subroutine. From this point the value of the Single variable is not calculated correctly anymore (it is half[ish] ranging from 0 to 64), but the code calculating the variable is untouched.
    What I'm missing?

    I'm using:
    Version: 1.76.2
    Release: 23074
    Commit: 22a808587994126e19125c6a1a03c00b990223f4
    Date: 2023-03-15T18:36:59.657Z
    Electron: 19.1.9
    Chromium: 102.0.5005.167
    Node.js: 16.14.2
    V8: 10.2.154.15-electron.0
    OS: Windows_NT ia32 10.0.19045
    Sandboxed: No

     
    • Anobium

      Anobium - 2024-09-22

      Hello,

      Without seeing the program I would be guessing.

      But, use integer maths. They are so much faster.

       
  • vincenzo compare

    Thankyou,
    I already switched to integer and it works ok. I don't have that code anymore and I tried to reproduce the issue to post here but without success.I just thought it was weird and wanted to share.

     
    • Anobium

      Anobium - 2024-09-22

      Thanks.

      Not sure what happened but I will look for thus in the future.

       

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.