Floating Point calculations in PBP


Closed Thread
Results 1 to 2 of 2
  1. #1
    uuq1's Avatar
    uuq1 Guest

    Default Floating Point calculations in PBP

    I am trying to find the angle between two vectors using the cos function which (mathematically) result in a floating variable. I am having the following problems:
    1) How to save the result in a varaible.
    2) How to send the result to another microcontroller using serial methods.

    uuq

  2. #2
    Join Date
    Dec 2003
    Location
    Wichita KS
    Posts
    511


    Did you find this post helpful? Yes | No

    Default

    Hello UUq,

    Try looking here for Floating point:
    http://www.melabs.com/resources/fp.htm

    Dwayne
    Ability to Fly:
    Hurling yourself towards the ground, and missing.

    Engineers that Contribute to flying:
    Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute

    Pilots that are Flying:
    Those who know their limitations, and respect the green side of the grass...

Similar Threads

  1. Floating point math
    By Glenn in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th January 2009, 03:47
  2. floating point numbers
    By n qwerty in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 8th April 2008, 04:18
  3. Floating Point Display Problem (serial string out)
    By Cash Olsen in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 20th December 2007, 02:03
  4. Microchip Floating Point Routines
    By Joe Rocci in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 12th October 2006, 19:51
  5. Floating Points and PBP
    By BertMan in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 22nd September 2005, 19:47

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