aboutsummaryrefslogtreecommitdiff
path: root/none/tests/x86/filter_inf_nan
blob: b4ddfc9b1c9c8fcbdb30d459656eac1f56262c53 (plain)
1
2
3
4
5
6
7
8
9
10
#! /bin/sh

# Solaris libc prints '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/NaN/nan/g"

exit 0