Replies: 1 comment
-
To me they're both mathematically equivalent. I studied maths far too long ago to remember what it's called, but it's the same equation, just manipulated to show things in a different order, in the same way that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The documentation lists the following table:
but in the nuget package Nuget.Versioning in the method VersionRange.Parse() another description:
// Summary:
// The version string is either a simple version or an arithmetic range e.g.
1.0 --> 1.0 ≤ x
(,1.0] --> x ≤ 1.0
(,1.0) --> x < 1.0
[1.0] --> x == 1.0
(1.0,) --> 1.0 < x
(1.0, 2.0) --> 1.0 < x < 2.0
[1.0, 2.0] --> 1.0 ≤ x ≤ 2.0
Here you can see the difference in behavior for "Minimum version, inclusive"
In documantation 1.0 -> x ≥ 1.0
In package 1.0 -> 1.0 ≤ x
Which option is correct?
Beta Was this translation helpful? Give feedback.
All reactions