build a functioning math/computer module #34

Closed
opened 2023-09-03 22:29:26 +02:00 by PlexSheep · 0 comments
Owner

The module should take a string as input and calculate it's expressions recursively according to a predefined list of operators (which should be non exhaustive)

  • Take string and process it
  • Variable Mode
  • support hex, bin, octal with 0x, 0b, 0o prefixes
  • Basic calculation
    • Addition
    • Subtraction
    • Multiplication
    • Division
    • Modulo
    • Exponentiation
  • Functions
    • Generic function with 0 to n arguments
    • logarithm
    • root
      • alias for sqrt
    • ceil, floor
    • rand
  • Explicit binary for this besides the regular pt
    (working title: "Use your computer to compute computations" -> ccc)
The module should take a string as input and calculate it's expressions recursively according to a predefined list of operators (which should be non exhaustive) - [ ] Take string and process it - [ ] Variable Mode - [ ] support hex, bin, octal with `0x`, `0b`, `0o` prefixes - [ ] Basic calculation - [ ] Addition - [ ] Subtraction - [ ] Multiplication - [ ] Division - [ ] Modulo - [ ] Exponentiation - [ ] Functions - [ ] Generic function with 0 to n arguments - [ ] logarithm - [ ] root - [ ] alias for sqrt - [ ] ceil, floor - [ ] rand - [ ] Explicit binary for this besides the regular `pt` (working title: "Use your computer to compute computations" -> `ccc`)
PlexSheep added this to the (deleted) milestone 2023-09-03 22:29:26 +02:00
PlexSheep added this to the (deleted) project 2023-09-03 22:29:26 +02:00
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: PlexSheep/pt#34
No description provided.