-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addresses #642.
- Loading branch information
Showing
5 changed files
with
81 additions
and
9 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
analysis/statistics/9ca25f4d67143a61a85121b62f95bc87ec99e385.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
|
||
changeset: 1428:9ca25f4d67143a61a85121b62f95bc87ec99e385 | ||
char kNewtonVersion[] = "0.3-alpha-1428 (9ca25f4d67143a61a85121b62f95bc87ec99e385) (build 02-23-2023-20:[email protected]_64)"; | ||
\n./src/noisy/noisy-linux-EN -O0 applications/noisy/helloWorld.n -s | ||
\n./src/newton/newton-linux-EN -v 0 -eP applications/newton/invariants/ViolinWithTemperatureDependence-pigroups.nt | ||
|
||
Informational Report: | ||
--------------------- | ||
Invariant "ViolinWithTemperatureDependenceForPiGroups" has 2 unique kernels, each with 2 column(s)... | ||
|
||
Kernel 0 is a valid kernel: | ||
|
||
1 1 | ||
-0.5 -0 | ||
1 0 | ||
0.5 0 | ||
0 -1 | ||
-0 -1 | ||
|
||
|
||
The ordering of parameters is: P1 P0 P3 P2 P4 P5 | ||
|
||
Pi group 0, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^( 0) P5^(-0) | ||
|
||
Pi group 0, Pi 1 is: P0^(-0) P1^( 1) P2^( 0) P3^( 0) P4^(-1) P5^(-1) | ||
|
||
|
||
Kernel 1 is a valid kernel: | ||
|
||
1 0 | ||
-0.5 1 | ||
1 -2 | ||
0.5 -1 | ||
-0 -2 | ||
0 -2 | ||
|
||
|
||
The ordering of parameters is: P1 P0 P3 P2 P4 P5 | ||
|
||
Pi group 1, Pi 0 is: P0^(-0.5) P1^( 1) P2^(0.5) P3^( 1) P4^(-0) P5^( 0) | ||
|
||
Pi group 1, Pi 1 is: P0^( 1) P1^( 0) P2^(-1) P3^(-2) P4^(-2) P5^(-2) | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,27 @@ | ||
// | ||
// Created by pei on 23/02/23. | ||
// | ||
|
||
#include <stdint.h> | ||
#include <stdio.h> | ||
|
||
typedef double bmx055xAcceleration; | ||
typedef double bmx055yAcceleration; | ||
|
||
int32_t testFunc(bmx055xAcceleration a, bmx055yAcceleration b) { | ||
printf("%f, %f\n", a, b); | ||
int64_t res1 = (int64_t)b >> 3; | ||
printf("res1 = %ld\n", res1); | ||
int32_t res2 = (int32_t)a << 4; | ||
printf("res2 = %d\n", res2); | ||
int16_t res3 = (int16_t)a >> (int8_t)(b+40); | ||
printf("res3 = %d\n", res3); | ||
int32_t res4 = (uint64_t)a >> 52; | ||
printf("res4 = %d\n", res4); | ||
return res1 + res2 + res3 + res4; | ||
} | ||
|
||
int main() { | ||
int32_t res = testFunc(-532.4, -37.9); | ||
printf("res = %d\n", res); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters