Point Notation: Difference between revisions
Sudleyplace (talk | contribs) No edit summary |
Sudleyplace (talk | contribs) No edit summary |
||
Line 58: | Line 58: | ||
== Euler Point Notation == | == Euler Point Notation == | ||
This notation allows you to enter numeric constants that are in the form of the product of a multiplier and <apll>e</apll> (the base of the natural logarithms) raised to an exponent. The numbers to the left (multiplier) and right (exponent) of the <apll>x</apll> may be represented in several ways including integers, <b>Decimal</b>, or <b>Exponential</b> Point Notation, but not <b>Base</b>, <b>Pi</b>, or <b>Euler</b> Point Notation. | This notation allows you to enter numeric constants that are in the form of the product of a multiplier and <apll>e</apll> (the base of the natural logarithms) raised to an exponent, that is, <apll>M×(*1)*E</apll>. The numbers to the left (multiplier) and right (exponent) of the <apll>x</apll> may be represented in several ways including integers, <b>Decimal</b>, or <b>Exponential</b> Point Notation, but not <b>Base</b>, <b>Pi</b>, or <b>Euler</b> Point Notation. | ||
For example, <apll>1e2x1.1</apll> is the same as <apll> | For example, <apll>1e2x1.1</apll> is the same as <apll>100x1.1</apll>. | ||
Both the multiplier and exponent may be negative and/or fractional as in <apll>{overbar}1e2x{overbar}3.3</apll>. | Both the multiplier and exponent may be negative and/or fractional as in <apll>{overbar}1e2x{overbar}3.3</apll>. | ||
Line 66: | Line 66: | ||
== Pi Point Notation == | == Pi Point Notation == | ||
This notation allows you to enter numeric constants that are in the form of the product of a multiplier and <apll>π</apll> raised to an exponent. The numbers to the left (multiplier) and right (exponent) of the <apll>p</apll> may be represented in several ways including integers, <b>Decimal</b>, or <b>Exponential</b> Point Notation, but not <b>Base</b>, <b>Euler</b>, or <b>Pi</b> Point Notation. | This notation allows you to enter numeric constants that are in the form of the product of a multiplier and <apll>π</apll> raised to an exponent, that is, <apll>M×(○1)*E</apll>. The numbers to the left (multiplier) and right (exponent) of the <apll>p</apll> may be represented in several ways including integers, <b>Decimal</b>, or <b>Exponential</b> Point Notation, but not <b>Base</b>, <b>Euler</b>, or <b>Pi</b> Point Notation. | ||
For example, <apll>1e2p1.1</apll> is the same as <apll> | For example, <apll>1e2p1.1</apll> is the same as <apll>100p1.1</apll>. | ||
Both the multiplier and exponent may be negative and/or fractional as in <apll>{overbar}1e2p{overbar}3.3</apll>. | Both the multiplier and exponent may be negative and/or fractional as in <apll>{overbar}1e2p{overbar}3.3</apll>. |
Revision as of 17:38, 22 November 2008
|
||||||||||||||||||||
Base, Pi, and Euler Point Notations are extensions to the familiar Decimal Point Notation as well as Exponential Point or Scientific Notation methods of entering numeric constants. Thanks to the designers of J for this clever idea. |
Base Point Notation
This notation makes it easy to enter numeric constants in an arbitrary base.
The number to the left of the b is the base of the number system for the characters to the right of the b. The base may be represented in several ways including integers, Exponential, Decimal, Pi, and Euler Point Notation, but not Base Point Notation.
For example, 1e3b111 is the same as 1000b111.
Note that the base may also be negative as in ¯1b0z or fractional as in 0.1b1234.
The characters to the right of the b may range from 0-9 or a-z where the latter range is a way of representing numbers from 10-35 in a single character. The uppercase letters (A-Z) have the same values as the corresponding lowercase case letters and may be used instead of or intermixed with them.
For example, 10bzzZ is the same as 10⊥35 35 35 35.
Euler Point Notation
This notation allows you to enter numeric constants that are in the form of the product of a multiplier and e (the base of the natural logarithms) raised to an exponent, that is, M×(*1)*E. The numbers to the left (multiplier) and right (exponent) of the x may be represented in several ways including integers, Decimal, or Exponential Point Notation, but not Base, Pi, or Euler Point Notation.
For example, 1e2x1.1 is the same as 100x1.1.
Both the multiplier and exponent may be negative and/or fractional as in ¯1e2x¯3.3.
Pi Point Notation
This notation allows you to enter numeric constants that are in the form of the product of a multiplier and π raised to an exponent, that is, M×(○1)*E. The numbers to the left (multiplier) and right (exponent) of the p may be represented in several ways including integers, Decimal, or Exponential Point Notation, but not Base, Euler, or Pi Point Notation.
For example, 1e2p1.1 is the same as 100p1.1.
Both the multiplier and exponent may be negative and/or fractional as in ¯1e2p¯3.3.