Add tests am: 597ab06727 am: 21dc414392 am: b44e7f1aa3

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/libm/+/1523821

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5ceda47efa93140877a23499d43239ad9e6e67af