Sign in
android
/
platform
/
external
/
valgrind
/
add683d5f374b40576458fa386c7d75369014e11
/
.
/
none
/
tests
/
amd64
/
filter_inf_nan
blob: ce40f21dc8eb099dffcb9353f8d8b2d85d309d65 [
file
] [
log
] [
blame
]
#! /bin/sh
# Solaris libc prints 'Inf' or 'Infinity' instead of 'inf'
# and 'NaN' instead of 'nan'. Filter these differences here.
sed
"s/-Infinity/ -inf/g"
|
sed
"s/Infinity/ inf/g"
|
sed
"s/Inf/inf/g"
|
sed
"s/NaN/nan/g"
exit
0