Revision 2b59fbe9

View differences:

libavutil/eval.c
563 563
        "13k + 12f - foo(1, 2)",
564 564
        "1gi",
565 565
        "1Gi",
566
        "st(0, 123)",
567
        "st(1, 123); ld(1)",
568
        /* compute 1+2+...+N */
569
        "st(0, 1); while(lte(ld(0), 100), st(1, ld(1)+ld(0));st(0, ld(0)+1)); ld(1)",
570
        /* compute Fib(N) */
571
        "st(1, 1); st(2, 2); st(0, 1); while(lte(ld(0),10), st(3, ld(1)+ld(2)); st(1, ld(2)); st(2, ld(3)); st(0, ld(0)+1)); ld(3)",
572
        "while(0, 10)",
573
        "st(0, 1); while(lte(ld(0),100), st(1, ld(1)+ld(0)); st(0, ld(0)+1))",
566 574
        NULL
567 575
    };
568 576

  

Also available in: Unified diff