Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
add variable for division by zero
Browse files Browse the repository at this point in the history
  • Loading branch information
GeneralGuy4872 authored Jan 30, 2019
1 parent ddd060d commit 32309dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/stage2/Langspec.man.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
My Language V0.2.a25a 0000000 00-00-0000
My Language V0.2.a25b 0000000 00-00-0000
Depricated; updates deffered until Alpha
======================================

Expand Down Expand Up @@ -332,6 +332,7 @@ clog : the C++ log file
φ : (1+√5)/2, double. (the variable "phi" is antireserved for i.e. user defined approximations. ϕ is antireserved for i.e. the second angle in a spherical coordinate system)
∞ , infinity : infinity. Currently a double, may be changed to a special, more compact type for special numbers.
↯ , notanumber : quiet Not a Number. Currently a double, may be changed to a special, more compact type for special numbers.
⓿ , divby0 : the NAN value for division by zero
⊤ , true : bool of 1
⊥ , false : bool of 0
Ⅱ , ternary : bool of -1
Expand Down Expand Up @@ -593,7 +594,7 @@ a name may not contain a number as the first character
0 1 2 3 4 5 6 7 8 9

a name may not overlap exactly with a special variable.
stdin stdout stderr � NULL ∅ emptyset ⅈ imaginary_unit_i ℯ π φ ∞ infinity ↯ notanumber ⊤ true ⊥ false Ⅱ ternary
stdin stdout stderr � NULL ∅ emptyset ⅈ imaginary_unit_i ℯ π φ ∞ infinity ↯ notanumber ⓿ divby0 ⊤ true ⊥ false Ⅱ ternary

a name may not overlap exactly with a builtin function
[set of all functions]
Expand Down

0 comments on commit 32309dd

Please sign in to comment.