Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
advLigoRTS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CDS
software
advLigoRTS
Commits
92bc8e0d
Commit
92bc8e0d
authored
2 years ago
by
Ezekiel Dohmen
Browse files
Options
Downloads
Patches
Plain Diff
Adding void parameter
parent
f2a24eb1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!439
RCG 5.0 release fro deb 10
,
!350
Merge branch 'branch-4.2' into master-branch-4.2-merge
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/epics/util/lib/Noise.pm
+2
-2
2 additions, 2 deletions
src/epics/util/lib/Noise.pm
with
2 additions
and
2 deletions
src/epics/util/lib/Noise.pm
+
2
−
2
View file @
92bc8e0d
...
...
@@ -43,7 +43,7 @@ sub printFrontEndVars {
print
::
OUT
<<
"
END
";
static
unsigned
long
noise_seed
=
0
;
static
unsigned
long
noise_u
=
0
,
noise_v
=
0
,
noise_w
=
0
;
inline
unsigned
long
noise_int64
()
{
inline
unsigned
long
noise_int64
(
void
)
{
noise_u
=
noise_u
*
2862933555777941757
LL
+
7046029254386353087
LL
;
noise_v
^=
noise_v
>>
17
;
noise_v
^=
noise_v
<<
31
;
noise_v
^=
noise_v
>>
8
;
noise_w
=
4294957665
U
*
(
noise_w
&
0xffffffff
)
+
(
noise_w
>>
32
);
...
...
@@ -51,7 +51,7 @@ inline unsigned long noise_int64() {
noise_x
^=
noise_x
>>
35
;
noise_x
^=
noise_x
<<
4
;
return
(
noise_x
+
noise_v
)
^
noise_w
;
}
inline
double
noise_doub
()
{
return
5.42101086242752217E-20
*
noise_int64
();
}
inline
double
noise_doub
(
void
)
{
return
5.42101086242752217E-20
*
noise_int64
();
}
inline
noise_set_seed
(
unsigned
long
seed
)
{
noise_v
=
4101842887655102017
LL
;
noise_w
=
1
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment