1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

zognc-nds calculator 0.14 (Support Bitwise)

Discussion in 'Nintendo DS' started by gbaup, Sep 28, 2009.

  1. gbaup

    gbaup Member

    Joined:
    Sep 19, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    [​IMG]

    zogna nds calculator is FREE NDS Applications!

    Author:zogna
    MAINSITE:http://code.google.com/p/zognc/
    =============================================
    Pass The Test:R4,DSTT,AK2,AK2i,M3DSR,Hyper-R4i,EZ5
    =============================================
    1.Support "+ - * / ^ % ( )"
    2.Support "sin cos tan" ,input is angle ,example: sin60
    3.Support "asin acos atan" ,ouput is angle,example: asin0.5
    4.Support "exp sqrt log ln",example: ln2
    5.Support "negative number",flag:'f',example:'-3.5',as 'f3.5'
    6.Support syntax highlighting
    7.Support pi=3.141593 e=2.718281
    8.Support a^b as pow(a,b), a%b as mod(a,b)
    9.an operation
    MAX input 760 characters
    MAX input 120 numbers
    MAX input 10^120
    accurate measurement: decimal point after 6 ,decimal point before 32(MAX 250)
    10.key:'backspace',only the current row !
    ==============================================
    key: up as *
    key: down as /
    key: left as +
    key: down as -

    key: Y as )
    key: A as (
    key: B as backspace
    key: X as =
    ==============================================
    function

    input: 'function name + number'
    example: sin60
    example input: sin+6+0;

    exp:e^number.example: exp3 as e^3
    sqrt: sqrt(number).example: sqrt9=3
    n!:number factorial.example: n!3 as 3!=6
    1/x: one to divide number. example: 1/x3 as 1/3=0.33333
    log: log10 number.example: log10=1
    ln: loge number.example: lne=1
    sin cos tan:trigonometric function,input angle.example: sin30=0.5
    asin acos atan:trigonometric function,output angle.example: asin0.5=30
    +/-:negative number,flag:'f',example: f3.5 as -3.5,don't used 'minuend'

    C:clear screen

    ====example=====================================

    7-(8+3)/(4-9)-2=7.2
    n!3-3.2+f5.4*(sin60-cos45)-(4.5/(pi-e)+1/x3*log7+ln3))=-10.06898
    sin(10+10+(10+10)+(10+10))=0.866025404
    1/xn!3+sin((asinsin30+acoscos10)+(atantan10+log(10^10)))+lnpi=2.177422

    ==============Bitwise=======================
    1.an operation
    MAX input 760 characters
    MAX input 120 numbers

    2.each number used 32 bit!
    Hexadecimal MAX xFFFFFFFF (8)
    Binary MAX b1111.... (32)
    if more than 32bit will to cut out "last 32 bit"

    3.key:'backspace',only the current row !

    =============================================
    priority

    ~ ( ) optimal priority
    < > 2
    & 3
    ^ 4
    | lowest priority

    ==============================================
    key: up as (And &)
    key: down as (OR |)
    key: left as (NOT ~)
    key: down as (XOR ^)

    key: Y as )
    key: A as (
    key: B as backspace
    key: X as =
    ==============================================
    bin : add binary sign&#12290; example: b1010101
    Hex :add hexadecimal sign &#12290;example :xABFA
    Default is Decimal numerals ,need not add sign

    <<:left shift , example: xf>3=1
    >>:right shift ,example b1<3=8

    And: &&#12290; example: b101&xE=4
    Or: |&#12290; example: b101&xE=xF
    Not: ~&#12290; example: ~b10101011=xFFFFFF54
    Xor: ^&#12290; example: b101^xE=xb

    C:clear screen
    ====ouput=====================================

    Dec=signed decimal or unsigned decimal
    Bin=32bit binary
    Hex=8bit hexadecimal

    ====example=====================================

    x1F|b101^10&x3E>~xFFFFFFEE=x1F

    39|((b100|xb1)>((xeb^23)&4))<~xFFFFFFFB=xb7

    ===MUST REMEMBER priority AND sign===
     
  2. gbaup

    gbaup Member

    Joined:
    Sep 19, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11

Share This Page