Skip to content

Commit

Permalink
irrationals in fargs, inline value constructors in value.h
Browse files Browse the repository at this point in the history
  • Loading branch information
billhails committed Apr 10, 2024
1 parent 10c6cb9 commit a82f079
Show file tree
Hide file tree
Showing 4 changed files with 150 additions and 109 deletions.
5 changes: 5 additions & 0 deletions fn/irrational.fn
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
// left right
// + - * / % ** cmp
let
fn test {
(1.0) { 0.0 }
(n) { 1 + n }
}
bi = 642086031413279956691053384794363;
in
print(1 + 1);
Expand Down Expand Up @@ -72,3 +76,4 @@ in
print(0.5 ** (1/2));
print(0.5 ** 0.5);
// print(sin(0.5));
print(test(12));
Loading

0 comments on commit a82f079

Please sign in to comment.