ae ~next (2021-10-23T04:25:29.3345725)
Dub
Repo
rangeIntersection
ae
utils
math
Length of intersection of two segments on a line, or 0 if they do not intersect.
T
rangeIntersection
(
T
)
(
T
a0
,
T
a1
,
T
b0
,
T
b1
)
Meta
Source
See Implementation
ae
utils
math
modules
distribution
longmul
aliases
eq
flipBits
ge
gt
le
lt
ne
functions
average
between
bitsFor
bound
compare
ilog2
isPowerOfTwo
itpl
maximize
minimize
nextPowerOfTwo
op
rangeIntersection
roundUpToPowerOfTwo
sign
sort2
sqr
sum
swapBytes
templates
TypeForBits
binary
unary
Length of intersection of two segments on a line, or 0 if they do not intersect.