[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

**To**:**Pierre Dubuc <pldubuc%yahoo.ca@localhost>****Subject**:**Re: MATH_EMULATE****From**:**"Perry E. Metzger" <perry%piermont.com@localhost>**- Date: Sun, 13 Jan 2008 10:26:28 -0500

Pierre Dubuc <pldubuc%yahoo.ca@localhost> writes: > A prime example of something that's broken is the sqrt() (or is > fsqrt()?) function, which is used in programs such as ping(8)... Ah! Now this was *not* supposed to be implemented in the first place. The way that we handled things like sqrt was by having two math libraries, with the one that uses the x87 used only on machines with x87 instructions. /etc/ld.so.conf has the following line: libm.so.0 machdep.fpu_present 1:libm387.so.0,libm.so.0 which is supposed to handle this. Perhaps machdep.fpu_present isn't working correctly, or maybe the ld.so.conf mechanism is failing? Does your machine have the ld.so.conf line set that way? If not, we can figure out why it wasn't installed, but can you see if things start working if you put it in? -- Perry E. Metzger perry%piermont.com@localhost

**Follow-Ups**:**Re: MATH_EMULATE***From:*Pierre Dubuc

**References**:**MATH_EMULATE***From:*Andrew Doran

**Re: MATH_EMULATE***From:*Steve Woodford

**Re: MATH_EMULATE***From:*Perry E. Metzger

**Re: MATH_EMULATE***From:*Jared D. McNeill

**Re: MATH_EMULATE***From:*Perry E. Metzger

**Re: MATH_EMULATE***From:*Jared D. McNeill

**Re: MATH_EMULATE***From:*Perry E. Metzger

**Re: MATH_EMULATE***From:*Pierre Dubuc

- Prev by Date:
**Re: MATH_EMULATE** - Next by Date:
**Re: MATH_EMULATE** - Previous by Thread:
**Re: MATH_EMULATE** - Next by Thread:
**Re: MATH_EMULATE** - Indexes: