[patch #6224] Use trunc from gnulib

2007-10-12 Thread Ben Pfaff
Update of patch #6224 (project pspp): Status: Ready For Test/Review => Done Open/Closed:Open => Closed ___ Follow-up Comment #4: I checked this in.

[patch #6224] Use trunc from gnulib

2007-10-11 Thread Ben Pfaff
Follow-up Comment #3, patch #6224 (project pspp): >It seems to work, that is, gcc isn't complaining that trunc >is undefined. Thanks Jason. >But the following tests fail (I don't think they have anything to >do with trunc, but just in case): Ouch. I've filed th

[patch #6224] Use trunc from gnulib

2007-10-11 Thread Jason H Stover
Follow-up Comment #2, patch #6224 (project pspp): It seems to work, that is, gcc isn't complaining that trunc is undefined. But the following tests fail (I don't think they have anything to do with trunc, but just in case): compression.sh overwrite-input-file.sh signals.sh

[patch #6224] Use trunc from gnulib

2007-10-10 Thread Ben Pfaff
Follow-up Comment #1, patch #6224 (project pspp): Jason, would you mind trying this out on OpenBSD? That's the main platform that this is likely to break on, if there is some problem with it. (You'll need to get the latest version of gnulib before trying it.) __

[patch #6224] Use trunc from gnulib

2007-10-04 Thread Ben Pfaff
URL: <http://savannah.gnu.org/patch/?6224> Summary: Use trunc from gnulib Project: PSPP Submitted by: blp Submitted on: Thursday 10/04/07 at 20:45 Category: None Item Group: None

Re: trunc

2006-11-27 Thread Ben Pfaff
John Darrington <[EMAIL PROTECTED]> writes: > On Sat, Nov 25, 2006 at 06:58:41PM -0800, Ben Pfaff wrote: > I'd suggest checking for trunc with Autoconf, then providing an > implementation based on floor if it doesn't exist, i.e. something > like

Re: trunc

2006-11-26 Thread Ben Pfaff
John Darrington <[EMAIL PROTECTED]> writes: > On Sat, Nov 25, 2006 at 06:58:41PM -0800, Ben Pfaff wrote: > I'd suggest checking for trunc with Autoconf, then providing an > implementation based on floor if it doesn't exist, i.e. something > like

Re: trunc

2006-11-26 Thread John Darrington
On Sat, Nov 25, 2006 at 06:58:41PM -0800, Ben Pfaff wrote: I'd suggest checking for trunc with Autoconf, then providing an implementation based on floor if it doesn't exist, i.e. something like this: #ifndef HAVE_TRUNC double trunc

Re: trunc

2006-11-25 Thread Ben Pfaff
John Darrington <[EMAIL PROTECTED]> writes: > On Sat, Nov 25, 2006 at 05:40:08PM -0500, Jason Stover wrote: > BSD's math.h has no 'trunc', but both GNU and BSD have > 'floor' in math.h, so to fix this error on BSD: > > src/languag

Re: trunc

2006-11-25 Thread John Darrington
On Sat, Nov 25, 2006 at 05:40:08PM -0500, Jason Stover wrote: BSD's math.h has no 'trunc', but both GNU and BSD have 'floor' in math.h, so to fix this error on BSD: src/language/stats/chisquare.c:78: undefined reference to `trunc' coul

trunc

2006-11-25 Thread Jason Stover
BSD's math.h has no 'trunc', but both GNU and BSD have 'floor' in math.h, so to fix this error on BSD: src/language/stats/chisquare.c:78: undefined reference to `trunc' could we use floor instead? -Jason ___ pspp-dev