Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gast
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
gast
Commits
7fe2f1b1
Commit
7fe2f1b1
authored
Nov 23, 2018
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'inf-real' into 'master'
Add special real values to the gen function See merge request
!24
parents
4143ae87
d842d681
Pipeline
#16654
passed with stage
in 45 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Libraries/Gast/Gen.icl
Libraries/Gast/Gen.icl
+2
-1
No files found.
Libraries/Gast/Gen.icl
View file @
7fe2f1b1
...
@@ -118,7 +118,8 @@ ggen{|Real|} s
...
@@ -118,7 +118,8 @@ ggen{|Real|} s
=
takeWhile
(\
r
->
abs
r
<=
toReal
(
s
.
maxDepth
-
s
.
depth
))
l
=
takeWhile
(\
r
->
abs
r
<=
toReal
(
s
.
maxDepth
-
s
.
depth
))
l
=
l
=
l
where
where
l
=
[
0.0
// -nan nan inf -inf
l
=
[
0.0
,
0.0
/
0.0
,~(
0.0
/
0.0
),
1.0
/
0.0
,
-1.0
/
0.0
:
interleave
:
interleave
[
r
\\
x
<-
diag
[
1
:
prims
]
[
1
:
prims
]
(\
n
d
.
toReal
n
/
toReal
d
),
r
<-
[
x
,~
x
]]
[
r
\\
x
<-
diag
[
1
:
prims
]
[
1
:
prims
]
(\
n
d
.
toReal
n
/
toReal
d
),
r
<-
[
x
,~
x
]]
(
interleave
(
interleave
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment