Changeset 13609 in project
 Timestamp:
 03/09/09 05:12:32 (11 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

wiki/eggref/4/err5rsarithmetic
r13608 r13609 12 12 See [[http://schemepunks.cyberrush.org/wiki/index.php?title=ERR5RS:SRFIs_and_Standard_LibrariesERR5RS:SRFIs_and_Standard_Libraries]] 13 13 14 Note that while this egg is named ''err5rsarithmetic'' the actual extension is 15 ''err5rsarithmeticfixnums'', ''err5rsarithmeticbitwise'' and ''err5rsarithmeticflonums''. 16 14 17 15 18 === Fixnum Arithmetic … … 452 455 <procedure>(fldenominator FL) => FLONUM</procedure> 453 456 457 ==== Extras 458 459 ===== flnegate 460 461 <procedure>(flnegate FL) => FLONUM</procedure> 462 454 463 455 464 === Bitwise Arithmetic … … 551 560 Returns {{0}} for {{#f}} or {{0}} and {{1}} otherwise. 552 561 553 ==== Unchecked variants562 ===== Unchecked variants 554 563 555 564 These procedures have the same signature as the similarly named ones but 556 565 perform no argument checking. 557 566 558 ===== *bitwiseif559 ===== *bitwiseifnot560 ===== *bitwisetest?561 ===== *bitwisebitcount562 ===== *bitwiselength563 ===== *bitwisefirstbitset564 ===== *bitwiselastbitset565 ===== *bitwisebitset?566 ===== *bitwisecopybit567 ===== *bitwisebitfield568 ===== *bitwisecopybitfield569 ===== *bitwiserotatebitfield570 ===== *bitwisereverse571 ===== *bitwisereversebitfield572 ===== *bitwisereversebitfield573 ===== *bitwiselist>integer574 ===== *bitwiseinteger>list575 ===== *bitwisearithmeticshift576 ===== *bitwisearithmeticshiftleft577 ===== *bitwisearithmeticshiftright578 ===== *pow2log2567 ====== *bitwiseif 568 ====== *bitwiseifnot 569 ====== *bitwisetest? 570 ====== *bitwisebitcount 571 ====== *bitwiselength 572 ====== *bitwisefirstbitset 573 ====== *bitwiselastbitset 574 ====== *bitwisebitset? 575 ====== *bitwisecopybit 576 ====== *bitwisebitfield 577 ====== *bitwisecopybitfield 578 ====== *bitwiserotatebitfield 579 ====== *bitwisereverse 580 ====== *bitwisereversebitfield 581 ====== *bitwisereversebitfield 582 ====== *bitwiselist>integer 583 ====== *bitwiseinteger>list 584 ====== *bitwisearithmeticshift 585 ====== *bitwisearithmeticshiftleft 586 ====== *bitwisearithmeticshiftright 587 ====== *pow2log2 579 588 580 589 … … 585 594 586 595 <enscript language=scheme> 587 (requirelibrary err5rsarithmeticfixnum )596 (requirelibrary err5rsarithmeticfixnums) 588 597 ... 589 598 (import err5rsarithmetic) … … 593 602 594 603 <enscript language=scheme> 595 (requireextension err5rsarithmeticfixnum )604 (requireextension err5rsarithmeticfixnums) 596 605 </enscript> 597 606 … … 600 609 601 610 <enscript language=scheme> 602 (requirelibrary err5rsarithmeticf ixnum)611 (requirelibrary err5rsarithmeticflonums) 603 612 ... 604 613 (import err5rsarithmetic) … … 608 617 609 618 <enscript language=scheme> 610 (requireextension err5rsarithmeticf ixnum)619 (requireextension err5rsarithmeticflonums) 611 620 </enscript> 612 621 … … 615 624 616 625 <enscript language=scheme> 617 (requirelibrary err5rsarithmetic fixnum)626 (requirelibrary err5rsarithmeticbitwise) 618 627 ... 619 628 (import err5rsarithmetic) … … 623 632 624 633 <enscript language=scheme> 625 (requireextension err5rsarithmetic fixnum)634 (requireextension err5rsarithmeticbitwise) 626 635 </enscript> 627 636 … … 639 648 640 649 * No ERR5RS fullnumerictower arithmetic routines. 650 651 * No fullnumerictower suuport for {{real>flonum}}. 641 652 642 653
Note: See TracChangeset
for help on using the changeset viewer.