servo / euclid

Geometry primitives (basic linear algebra) for Rust
Other
462 stars 102 forks source link

Add back Floor, Ceil, and Round on integer types #464

Closed kyren closed 4 years ago

kyren commented 4 years ago

It can be helpful to treat floating point and integer types the same in a generic context when you need to find an integral bounding box or the closest integer coordinate.

nical commented 4 years ago

Thanks! @bors-servo r+

bors-servo commented 4 years ago

:pushpin: Commit 17f94d6 has been approved by nical

bors-servo commented 4 years ago

:hourglass: Testing commit 17f94d62fe0db53809d1b99e682a5171e545e5af with merge 27b7a27b907ea031c35e4e2dc528c5298c05c441...

bors-servo commented 4 years ago

:sunny: Test successful - checks-travis Approved by: nical Pushing 27b7a27b907ea031c35e4e2dc528c5298c05c441 to master...