Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fx_s1615
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RealCoding2_Team1
fx_s1615
Commits
02675eeb
Commit
02675eeb
authored
4 years ago
by
최형택
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://git.ajou.ac.kr/realcoding2_team1/battle_c_1
parents
d78b2263
8e84773a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+3
-3
3 additions, 3 deletions
README.md
with
3 additions
and
3 deletions
README.md
+
3
−
3
View file @
02675eeb
...
@@ -238,15 +238,15 @@ gprof
...
@@ -238,15 +238,15 @@ gprof
fx_s1615로 표현된 값인 a를 8만큼 right shifting 해주고, b를 7만큼 right shifiting 해준 후, 두 값을 곱해주는 macro
fx_s1615로 표현된 값인 a를 8만큼 right shifting 해주고, b를 7만큼 right shifiting 해준 후, 두 값을 곱해주는 macro
*
`#define FX_1615_LONGLONG_DIV1(a, b) (fx_s1615)((fixed64)((a >> 15) / (b >> 15)) << 15)`
*
`#define FX_1615_LONGLONG_DIV
0
1(a, b) (fx_s1615)((fixed64)((a >> 15) / (b >> 15)) << 15)`
fx_s1615로 표현된 값을 long long으로 cast 해주고, a와 b를 각각 15만큼 right shfiting 하고 a 와 b를 나눠준 후, 15만큼 left shifting 해주는 macro
fx_s1615로 표현된 값을 long long으로 cast 해주고, a와 b를 각각 15만큼 right shfiting 하고 a 와 b를 나눠준 후, 15만큼 left shifting 해주는 macro
*
`#define FX_1615_LONGLONG_DIV2(a, b) (fx_s1615)(((fixed64)(
(
a) << 15) / b))`
*
`#define FX_1615_LONGLONG_DIV
0
2(a, b) (fx_s1615)(((fixed64)(a) << 15) /
(
b))`
fx_s1615로 표현된 값을 long long으로 cast 해주고, a를 15만큼 left shfiting 하고 b와 나눠주는 macro
fx_s1615로 표현된 값을 long long으로 cast 해주고, a를 15만큼 left shfiting 하고 b와 나눠주는 macro
*
`#define FX_1615_LONGLONG_DIV3(a, b) (((a << 5) / (b >> 6)) << 4)`
*
`#define FX_1615_LONGLONG_DIV
0
3(a, b) (((a << 5) / (b >> 6)) << 4)`
fx_s1615로 표현된 값인 a를 5만큼 left shifting 해주고, b를 6만큼 right shfiting 하고 나눠준 후, 4만큼 left shifting 해주는 macro
fx_s1615로 표현된 값인 a를 5만큼 left shifting 해주고, b를 6만큼 right shfiting 하고 나눠준 후, 4만큼 left shifting 해주는 macro
...
...
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