Home | History | Annotate | Line # | Download | only in libm
convertFreeBSD revision 1.1
      1 #!/bin/sh
      2 # simple script to do some of the mechanical conversion from the FreeBSD
      3 # sources
      4 sed -i \
      5     -e 's/IEEEl2bits/ieee_ext_u/g' \
      6     -e 's/bits.man/extu_frac/g' \
      7     -e 's/\.\<e\>/\.extu_ld/g' \
      8     -e 's/LDBL_MANH_SIZE/EXT_FRACHBITS/g' \
      9     -e 's/LDBL_MANL_SIZE/EXT_FRACLBITS/g' \
     10     -e 's/u.xbits.expsign/GET_EXPSIGN(\&u)/g' \
     11     -e 's/bits.exp/extu_exp/g' \
     12     -e 's/bits.sign/extu_sign/g' \
     13     "$@"
     14 
     15