https://github.com/JuliaLang/julia
Revision ef69851a4f7831b346caafcac439bd83bcdc65a4 authored by Michael Abbott on 12 November 2020, 19:37:48 UTC, committed by GitHub on 12 November 2020, 19:37:48 UTC
* clamp method for unitrange

* add tests & narrower type

* move to Base.Math

* triple equals

Co-authored-by: Michael Abbott <me@escbook>
1 parent 36efff9
History
Tip revision: ef69851a4f7831b346caafcac439bd83bcdc65a4 authored by Michael Abbott on 12 November 2020, 19:37:48 UTC
Allow `clamp(n, 1:10)` (#37548)
Tip revision: ef69851
File Mode Size
.devcontainer
base
cli
contrib
deps
doc
etc
src
stdlib
test
.clang-format -rw-r--r-- 3.3 KB
.gitattributes -rw-r--r-- 65 bytes
.gitignore -rw-r--r-- 273 bytes
.mailmap -rw-r--r-- 11.0 KB
CITATION.bib -rw-r--r-- 2.6 KB
CONTRIBUTING.md -rw-r--r-- 19.9 KB
HISTORY.md -rw-r--r-- 292.0 KB
LICENSE.md -rw-r--r-- 5.0 KB
Make.inc -rw-r--r-- 47.6 KB
Makefile -rw-r--r-- 27.5 KB
NEWS.md -rw-r--r-- 18.3 KB
README.md -rw-r--r-- 6.9 KB
VERSION -rw-r--r-- 10 bytes
sysimage.mk -rw-r--r-- 3.9 KB

README.md

back to top