-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: checked integer conversions #8420
Commits on Sep 17, 2014
-
check integer truncation (#5413) and make more operators follow T+T =…
…> T (#3759) the sysimg builds, but still need to: - check same-size signed<->unsigned conversion - make tests pass
Configuration menu - View commit details
-
Copy full SHA for effff39 - Browse repository at this point
Copy the full SHA effff39View commit details -
2
Configuration menu - View commit details
-
Copy full SHA for 1d5050b - Browse repository at this point
Copy the full SHA 1d5050bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8495944 - Browse repository at this point
Copy the full SHA 8495944View commit details
Commits on Sep 18, 2014
-
check signed<->unsigned conversions
this would be a bit cleaner without the code in intfuncs that dispatches on Unsigned. signed() and unsigned() are convenient for testing bit patterns in the test suite. for now replace with assigned() and asunsigned(). uint8(x) is convenient for moving bytes around, so it remains unchecked. we should perhaps rename this to byte(), and either eliminate uint8() entirely, or make it checked.
Configuration menu - View commit details
-
Copy full SHA for e1690fc - Browse repository at this point
Copy the full SHA e1690fcView commit details
Commits on Sep 19, 2014
-
1
Configuration menu - View commit details
-
Copy full SHA for c67837c - Browse repository at this point
Copy the full SHA c67837cView commit details -
Merge branch 'master' of github.com:JuliaLang/julia into jb/checked_i…
…nt_trunc Conflicts: base/number.jl
Configuration menu - View commit details
-
Copy full SHA for 06241fe - Browse repository at this point
Copy the full SHA 06241feView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec607da - Browse repository at this point
Copy the full SHA ec607daView commit details
Commits on Sep 25, 2014
-
Merge branch 'master' of github.com:JuliaLang/julia into jb/checked_i…
…nt_trunc Conflicts: base/intfuncs.jl
Configuration menu - View commit details
-
Copy full SHA for 50f1d10 - Browse repository at this point
Copy the full SHA 50f1d10View commit details -
make signed() and unsigned() unchecked. check only in convert()
a few fixes in base for the convert and arithmetic changes get all tests passing
1Configuration menu - View commit details
-
Copy full SHA for 16c2330 - Browse repository at this point
Copy the full SHA 16c2330View commit details -
add a bit of widening to reductions, to make up for the new
type-preserving arithmetic. allow reducedim(+, A, 2), which previously gave ``` ERROR: `reducedim_init` has no method matching reducedim_init(::IdFun, ::Function, ::Array{Uint8,2}, ::Int64) in reducedim at reducedim.jl:217 ```
Configuration menu - View commit details
-
Copy full SHA for 9f0ef0d - Browse repository at this point
Copy the full SHA 9f0ef0dView commit details
Commits on Sep 26, 2014
-
Merge branch 'master' of github.com:JuliaLang/julia into jb/checked_i…
…nt_trunc Conflicts: base/reduce.jl
Configuration menu - View commit details
-
Copy full SHA for b3e30f9 - Browse repository at this point
Copy the full SHA b3e30f9View commit details -
fix more cases of widening in reductions
also fix sum_kbn on empty input
Configuration menu - View commit details
-
Copy full SHA for 3336fbc - Browse repository at this point
Copy the full SHA 3336fbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d1c138 - Browse repository at this point
Copy the full SHA 4d1c138View commit details -
Configuration menu - View commit details
-
Copy full SHA for 000f41e - Browse repository at this point
Copy the full SHA 000f41eView commit details -
Merge branch 'master' of github.com:JuliaLang/julia into jb/checked_i…
…nt_trunc Conflicts: base/reduce.jl
Configuration menu - View commit details
-
Copy full SHA for 8c39ad2 - Browse repository at this point
Copy the full SHA 8c39ad2View commit details
Commits on Sep 28, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 8321a9e - Browse repository at this point
Copy the full SHA 8321a9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53b6dee - Browse repository at this point
Copy the full SHA 53b6deeView commit details