- Timestamp:
- 07/21/06 14:47:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/LECTURE/binary.html
r138 r142 696 696 </div> 697 697 698 <div id="file_comments"></div> 698 <div id="file_comments"> 699 Returns the binary representation of a number of any numerical type. 700 </div> 699 701 700 702 … … 716 718 <span class="result">result = </span>binary(<span class="result"><a href="#_binary_param_number">number</a></span>)</p> 717 719 720 <div class="comments"></div> 721 722 <h3>Return value</h3><div class="preformat"> 723 Byte array with binary representation of numbers. 724 </div> 725 726 727 <h3>Parameters</h3> 728 729 730 <h4 id="_binary_param_number">number 731 <span class="attr">in</span> 732 733 734 <span class="attr">required</span> 735 736 737 738 739 </h4> 740 718 741 <div class="comments"> 719 Name:720 binary721 Purpose: 722 Returns the binary representation of a number of any numerical type. 723 Argument: 724 number scalar or array of numbers (any numerical type) 725 Returns: 726 Byte array with binary representation of numbers. 727 Examples: 742 scalar or array of numbers (any numerical type) 743 </div> 744 745 746 747 748 749 750 <h3>Examples</h3><div class="preformat"> 728 751 Binary representation of 11b: 729 752 IDL> print, binary(11b) … … 742 765 alpha vms 0fda4149 68c0a221 49 41 da 0f 21 a2 c0 68 743 766 (Beginning with IDL 5.1, Alpha VMS uses IEEE representation as well.) 744 Modification history: 767 </div> 768 <h3>Version history</h3> 769 770 <h4>Version</h4><div class="preformat"> 771 $Id$ 772 </div> 773 <h4>History</h4><div class="preformat">: 745 774 19 Dec 1997 Originally a news posting by David Fanning. 746 775 (Re: bits from bytes) … … 752 781 single bytes. Check that big and little endian machines 753 782 return exactly the same results (if IEEE). 754 7 May 2003 Added newish data types, unsigned and long64. BT</div> 755 756 757 758 759 <h3>Parameters</h3> 760 761 762 <h4 id="_binary_param_number">number 763 764 765 766 767 768 769 770 771 </h4> 772 773 <div class="comments"></div> 774 775 776 777 778 779 780 781 782 783 784 783 7 May 2003 Added newish data types, unsigned and long64. BT 784 </div> 785 785 786 786
Note: See TracChangeset
for help on using the changeset viewer.