Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • PeoplePods 0.9
  • Brackets Sprint 8
  • elFinder 2.0 RC1
  • BBClone 0.6.1
  • Twitter Follow Box...
  • Multilingual Press...
  • SimplePie 1.2.1
  • TinyTips 1.2
  • SWFUpload 2.2.0.1 ...
  • Head Cleaner 1.4.2.9
  • Home > Scripts > E-Commerce > Billing Systems

    num2vpi

    Download button

    Downloads: 241  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    James Tursa | More scripts
    www.mathworks.com
    BSD License - BSD License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    Matlab
    December 11th, 2009, 10:35 GMT
    C: \ E-Commerce \ Billing Systems

     Read user reviews (0)  Refer to a friend  Subscribe

    num2vpi description

    This MATLAB function converts numeric and char string integral inputs exactly into Variable Precision Integers (vpi)

    It works with double inputs larger than 2^53-1, or char inputs with exponents.

    num2vpi converts A into a vpi class variable using the exact bit representation of the A elements.

    For single and double floating point inputs, num2vpi uses the FEX submission num2strexact to do the basic conversion.

    For uint64 and int64, num2vpi does the conversion in two uint32 pieces since vpi handles uint32 inputs but not uint64 or int64 inputs.

    The int64 conversion uses the typecast function. For logical inputs, num2vpi does a simple conversion to uint8 first, since vpi handles uint8 inputs but not logical inputs.

    For char inputs, each row is interpreted as a single number. Decimal points and exponents are allowed as long as the result is an integer.

    For all other input types, the input is simply passed on through to vpi to do the conversion.

    Requirements:

    · MATLAB 7.4 or higher
    · Any C compiler, such as the built in lcc compiler
    · num2strexact
    · vpi
    · typecast



    TAGS:

    character conversion | vpi class | char input | character | input | conversion



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM