Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3759] Re: New --with feature request

Date2003-12-15 12:06
From"Michael Gogins"
Subject[CSOUND-DEV:3759] Re: New --with feature request
While we are at it, can we make 64 bit float (double precision) the default?

============================================
Michael Gogins
gogins at pipeline period com
Irreducible Productions
CsoundVST, an extended version of Csound for programming music and sound
Available at http://sourceforge.net/projects/csound/
============================================


----- Original Message ----- 
From: 
To: "Csound Developers Discussion List" 
Sent: Monday, December 15, 2003 5:35 AM
Subject: [CSOUND-DEV:3757] New --with feature request


> Could an option --with-64bit (or similar name) be added to the
> configuration stuff?  I would like to have cleaner code for
> float/double representation internally, but I no longer have any
> understanding on the configuration generation, not even what commands
> to call.
> ==John ffitch
> 

Date2003-12-15 13:39
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[CSOUND-DEV:3761] Re: New --with feature request
"Michael Gogins"  writes:

> While we are at it, can we make 64 bit float (double precision) the
> default?

Okay John, I changed configure.ac so it defines USE_DOUBLE when the
--enable-double option is specified.  Please modify sysdep.h as
appropriate.  Michael, I left the default as single, since I thought
we should test double compilation before making it the default.

John

Date2003-12-15 17:21
Fromjpff@cs.bath.ac.uk
Subject[CSOUND-DEV:3767] Re: New --with feature request
I did a cvs update and no configuration file changed.  Have you
committed this change?

>>>>> "John" == John D Ramsdell  writes:

 John> "Michael Gogins"  writes:
 >> While we are at it, can we make 64 bit float (double precision) the
 >> default?

 John> Okay John, I changed configure.ac so it defines USE_DOUBLE when the
 John> --enable-double option is specified.  Please modify sysdep.h as
 John> appropriate.  Michael, I left the default as single, since I thought
 John> we should test double compilation before making it the default.

==John ffitch

Date2003-12-15 17:39
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[CSOUND-DEV:3768] Re: New --with feature request
jpff@cs.bath.ac.uk writes:

> I did a cvs update and no configuration file changed.  Have you
> committed this change?

I'm sorry, I changed the one in the csound module, not the csound5
module.  I bet that's the source of confusion.  I'm at work now, so 
I have to look at this later.

John

Date2003-12-15 17:43
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[CSOUND-DEV:3769] Re: New --with feature request
jpff@cs.bath.ac.uk writes:

> I did a cvs update and no configuration file changed.  Have you
> committed this change?

Oh, heck, I can be more useful than that.  Just add

------------------
AC_ARG_ENABLE([double],
	AC_HELP_STRING([--enable-double],
		[enable the use double precision floating point computations default=no]),
	[USE_DOUBLE="$enableval"],
	[USE_DOUBLE=no])

if type "x$USE_DOUBLE" = xyes; then
  AC_DEFINE([USE_DOUBLE], 1, [Define when using double precision floating point])
fi

# Checks for libraries.
------------------

to your configure.in just before checks for libraries.

John


> 
> >>>>> "John" == John D Ramsdell  writes:
> 
>  John> "Michael Gogins"  writes:
>  >> While we are at it, can we make 64 bit float (double precision) the
>  >> default?
> 
>  John> Okay John, I changed configure.ac so it defines USE_DOUBLE when the
>  John> --enable-double option is specified.  Please modify sysdep.h as
>  John> appropriate.  Michael, I left the default as single, since I thought
>  John> we should test double compilation before making it the default.
> 
> ==John ffitch

Date2003-12-15 18:04
FromJohn ffitch
Subject[CSOUND-DEV:3771] Re: New --with feature request
Thanks; updated as you suggest
==John ff