Exponential Operator


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    18


    Did you find this post helpful? Yes | No

    Default

    It comes with the new PBP 2.50 upgrade.

    PBPL is the new .exe file that lets you use 32 bit variables (only on the 18FXXX series).


    You can use negative numbers without having to use two's complement; you can use * + / - operators with 32 bit.

    DIG and other instrucctions are "enhanced" by it.

  2. #2
    Join Date
    Oct 2007
    Posts
    7


    Did you find this post helpful? Yes | No

    Lightbulb New Math Problem

    Now what I want to do is go backwards from what I did before.

    What would be a good equation/function for:

    Given a = %00100
    b should equal 2


    %00001 = 0
    %00010 = 1
    %00100 = 2
    %01000 = 3
    %10000 = 4

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    andrewroz, Use the NCD function. It will give you the value of the most significant bit set.
    It's in the manual.....

    Dave Purola,
    N8NTA

  4. #4
    Join Date
    Oct 2007
    Posts
    7


    Did you find this post helpful? Yes | No

    Default Ncd

    Cool,
    Thanks Dave.
    -Andrew

Similar Threads

  1. what is objective of this operator "*/" ?
    By iugmoh in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th April 2008, 03:43
  2. Exponential
    By civicgundam in forum General
    Replies: 8
    Last Post: - 3rd February 2008, 18:19
  3. '*/' operator
    By jblackann in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th January 2007, 21:00
  4. math operator LOG
    By Eyal in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 23rd July 2004, 00:45
  5. Log and exponential
    By anj in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th March 2004, 21:03

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