BROKEN WIP: GARBAGE COLLECTION AND HEAP MANAGEMENT
Some checks failed
per-push tests / build (push) Failing after 4m38s
per-push tests / test-frontend (push) Has been skipped
per-push tests / timed-decomposer-parse (push) Has been skipped
per-push tests / test-utility (push) Has been skipped
per-push tests / test-backend (push) Has been skipped
Some checks failed
per-push tests / build (push) Failing after 4m38s
per-push tests / test-frontend (push) Has been skipped
per-push tests / timed-decomposer-parse (push) Has been skipped
per-push tests / test-utility (push) Has been skipped
per-push tests / test-backend (push) Has been skipped
Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
parent
8d2d0ebf0c
commit
1359ebdded
6 changed files with 190 additions and 205 deletions
|
|
@ -73,6 +73,12 @@ pub enum Number {
|
|||
Sym(SymbolicNumber)
|
||||
}
|
||||
|
||||
impl Default for Number {
|
||||
fn default() -> Self {
|
||||
Number::Fra(Fraction(0, 1))
|
||||
}
|
||||
}
|
||||
|
||||
impl From<SymbolicNumber> for Number {
|
||||
fn from(value: SymbolicNumber) -> Self {
|
||||
Number::Sym(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue