IAP GITLAB
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
corsika
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
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
Air Shower Physics
corsika
Commits
eada74ec
Commit
eada74ec
authored
2 years ago
by
Maximilian Reininghaus
Browse files
Options
Downloads
Plain Diff
Merge branch '523-examples-fail-on-m1' into 'master'
Resolve "Examples fail on M1" Closes
#523
See merge request
!477
parents
d356fdd1
3ad84d70
No related branches found
No related tags found
1 merge request
!477
Resolve "Examples fail on M1"
Pipeline
#10108
failed
2 years ago
Stage: quality
Stage: config
Stage: build_test_example
Stage: python
Stage: optional
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
corsika/detail/framework/random/random_iterator/detail/uint128.hpp
+2
-0
2 additions, 0 deletions
...etail/framework/random/random_iterator/detail/uint128.hpp
with
2 additions
and
0 deletions
corsika/detail/framework/random/random_iterator/detail/uint128.hpp
+
2
−
0
View file @
eada74ec
...
...
@@ -391,6 +391,7 @@ namespace random_iterator {
void
_init_dec
(
const
char
*
s
);
void
_init_oct
(
const
char
*
s
);
#if defined(__powerpc64__) || defined(__x86_64__)
static
inline
uint128_t
mul128
(
uint128_t
const
x
,
uint128_t
const
y
)
{
uint128_t
z
;
#ifdef __powerpc64__
...
...
@@ -401,6 +402,7 @@ namespace random_iterator {
z
.
UPPER
+=
(
x
.
UPPER
*
y
.
LOWER
)
+
(
x
.
LOWER
*
y
.
UPPER
);
return
z
;
}
#endif
#ifdef __BIG_ENDIAN__
uint64_t
UPPER
,
LOWER
;
...
...
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