Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
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
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
duniter
Commits
665c2c90
Commit
665c2c90
authored
8 years ago
by
Cédric Moreau
Browse files
Options
Downloads
Patches
Plain Diff
[fix] Protocol: the MEDIAN function should not round the result in cas of even value
parent
81434bcc
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/Protocol.md
+1
-1
1 addition, 1 deletion
doc/Protocol.md
with
1 addition
and
1 deletion
doc/Protocol.md
+
1
−
1
View file @
665c2c90
...
@@ -1399,7 +1399,7 @@ Function references:
...
@@ -1399,7 +1399,7 @@ Function references:
* *MEDIAN* computes the median value in a list of values
* *MEDIAN* computes the median value in a list of values
* *MAX* computes the maximum value in a list of values
* *MAX* computes the maximum value in a list of values
> If values count is even, the median is computed over the 2 centered values by an arithmetical median on them,
ceil
rounded.
> If values count is even, the median is computed over the 2 centered values by an arithmetical median on them,
*NOT*
rounded.
* *UNIQ* returns a list of the unique values in a list of values
* *UNIQ* returns a list of the unique values in a list of values
* *INTEGER_PART* return the integer part of a number
* *INTEGER_PART* return the integer part of a number
...
...
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