allocatemem
Modify the PARI stack memory allocation to prevent overflow and manage large number theory computations.
Instructions
Change the PARI stack size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | New stack size in bytes. If 0, doubles current size. | |
| sizemax | No | Maximum stack size in bytes. If 0, uses current maximum. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |