1
$\begingroup$

IntervalUnion can give wrong output when used with Quantity:

IntervalUnion[Quantity[Interval[{0, 1}], "Seconds"], 
 Quantity[Interval[{4, 5}], "Seconds"]]

Quantity[Interval[List[0,5]],"Seconds"]

Whereas

IntervalUnion[Interval[{0, 1}], Interval[{4, 5}]]

Interval[{0,1},{4,5}]

So this error is unbounded.

Spot-checking IntervalIntersection seems ok. Does anyone know of similar issues with Interval arithmetic over Quantities?

$\endgroup$
  • $\begingroup$ I reported to tech support. $\endgroup$ – alancalvitti Jan 29 '18 at 18:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.