If # n ≥ # 1000000000000 (base 10), only the 12 most significant decimal digits are preserved in the resulting mantissa.
Access: | …ÃB→R | ( Ãis the |
Flags: Binary Integer Wordsize
Input/Output:
|
| Level 1/Argument 1 |
| Level 1/Item 1 |
|
|
|
|
|
|
| #n | → | n |
See also: | R→B |
|
|
|
|
|
| ||
|
|
|
|
|
C$ | Command |
|
| |
Type: |
|
| ||
Description: | Counted String Command: Enters C$ on the command line to help with the manual entry of a | |||
| string object. Must be followed by a number indicating the number of characters to include in the | |||
| strings, or an additional $ to indicate that the rest of the command line is a single string. There | |||
| must be exactly one separator character after the second $ and before the body of the string. | |||
| If the declared length is greater than the number of characters actually available, the string is | |||
| automatically truncated to the correct length. |
|
| |
Access: | None. Must be typed in. |
|
| |
Example 1: | C$ 3 a"b returns "a"b" on level 1. |
|
| |
Example 2: | C$ 3abcdef returns "abc" on level 2 and 'def' on level 1 (assuming def is undefined). | |||
Example 3: | C$ $ abcdef returns "abcdef" on level 1. |
|
| |
|
|
|
|
|
C2P |
|
|
|
|
Type: | Command |
|
| |
Description: | Takes a list of cycles as an argument, and returns the equivalent permutation. In other words, | |||
| finds a permutation from its cyclical decomposition. |
|
| |
Access: | Arithmetic, !ÞPERMUTATION |
|
| |
Input: | A list of cycles equivalent to a permutation. For example, the list {1,3,5} defines a cycle C, such | |||
| that C(1)=3, C(3)=5 and C(5)=1, while items 2 and 4 are not changed. This could be followed by | |||
| {2,4} which defines a cycle C, such that C(2)=4, and C(4)=2. |
| ||
Output: | A list representing the permutation equivalent to the cycles. |
| ||
Example: | Convert the cycles given by {{1,3,5},{2,4}} into a permutation: |
| ||
Command: | C2P({{1,3,5},{2,4}}) |
|
| |
Result: | {3,4,5,2,1} |
|
| |
See also: | P2C, CIRC |
|
| |
|
|
|
|
|
CASCFG |
|
|
|
|
Type: | Command |
|
|
Description: Restores the default CAS mode settings. This command is almost equivalent to pressing L !RESET, then selecting “Reset all” and pressing !!OK!, when the CAS Modes input form is displayed. The difference is that CASCFG sets the modulus value to 13, whereas “Reset all” sets the modulus to 3.
Access: Catalog, …µ
Full Command and Function Reference