Shop OBEX P1 Docs P2 Docs Learn Events
Seamless Integration of Floating Point — Parallax Forums

Seamless Integration of Floating Point

HumanoidoHumanoido Posts: 5,770
edited 2012-08-02 12:42 in Propeller 1
Are there any Propeller languages with floating point seamlessly integrated, and examples to prove it?

Is it possible to get away from a requirement of programming various FLOAT statement structures?

Comments

  • Heater.Heater. Posts: 21,230
    edited 2012-08-02 01:00
    Yes,
    C and C++ for starters. Compiled with propgcc, Catalina, zpugcc for the Zog engine, the old ImageCraft ICC compiler, or even BDSC for Z80 emulation. Some of those only do C of course.
    Then there is FORTRAN which probably needs a bit of work to be useful but can be compiled by the GCC based compilers.
  • HumanoidoHumanoido Posts: 5,770
    edited 2012-08-02 08:21
    Heater. wrote: »
    Yes, C and C++ for starters. Compiled with propgcc, Catalina, zpugcc for the Zog engine, the old ImageCraft ICC compiler, or even BDSC for Z80 emulation. Some of those only do C of course. Then there is FORTRAN which probably needs a bit of work to be useful but can be compiled by the GCC based compilers.
    Thanks for the fast reply! I started looking at propgcc and this is one good solution but other SW would need conversion to C, C++ which requires more time than allowed. For now, I may need to stay with customized Spin and study the problem in more detail.
  • ersmithersmith Posts: 6,096
    edited 2012-08-02 12:42
    Humanoido wrote: »
    Thanks for the fast reply! I started looking at propgcc and this is one good solution but other SW would need conversion to C, C++ which requires more time than allowed. For now, I may need to stay with customized Spin and study the problem in more detail.

    If you need to convert some Spin code to C++ try http://code.google.com/p/spin2cpp. It's getting fairly complete now, and if you find some Spin constructs it can't handle please let me know so I can fix them!

    Eric
Sign In or Register to comment.