Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement numeric operations #5

Open
sparist opened this issue Nov 24, 2012 · 0 comments
Open

Implement numeric operations #5

sparist opened this issue Nov 24, 2012 · 0 comments
Assignees
Milestone

Comments

@sparist
Copy link
Owner

sparist commented Nov 24, 2012

Implement operations on the Number program type. Depends on #4.

Includes:

  • Basic arithmetic operations.
  • Basic comparison operations, for which false is the empty string and true is the original value. For example, < {3} {2} (2 less than 3) would become {2}, and < {3} {4} would become {}.

If possible, the number data type should be expanded such that it retains the entire computation that generates it, and optimizes operations on the computation itself (such as operations cancelling out), until written or converted, at which point the computation is executed to the specified number of significant figures.

@ghost ghost assigned sparist Nov 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant