FPU for pic


Closed Thread
Results 1 to 7 of 7

Thread: FPU for pic

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Location
    USA, CA
    Posts
    271


    Did you find this post helpful? Yes | No

    Default

    I would be surprised if M'chip didn't have FP subroutines in assembly on their site. A trial version of their c compiler might get it. I know for certain that the Proton+ Basic compiler has FP, and I believe they have a trial version of it, too.
    http://www.picbasic.org/index.php

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Hi,

    You ALSO can download the PbP Floating point routines ( adapted from µChip ones ) on melab's site ...

    BUT remember PI can be closely approximated by the division of two integers ... what doesn't solve the trigonometric "genuine" functions lack of precision ... !!!

    for coprocessor ...

    http://www.micromegacorp.com/pbp.html

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    Wow, didn't know Microchip had a C compiler. I'll have to check that out.
    Will also look for the Pic BASIC routines.
    Thanks

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts