[Cs-dev] Lrint/lrintf
Date | 2012-03-02 17:54 |
From | Felipe Sateler |
Subject | [Cs-dev] Lrint/lrintf |
What could be a rationale for not using lrint or lrintf? As I understand it, lrintf wil very likely be faster than whatever alternative. -- Saludos, Felipe Sateler ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2012-03-02 18:02 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] Lrint/lrintf |
> What could be a rationale for not using lrint or lrintf? As I > understand it, lrintf wil very likely be faster than whatever > alternative. > > -- Not ANSI C89 functions If available yes they should be used IMHO ==John ff ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2012-03-02 18:05 |
From | Steven Yi |
Subject | Re: [Cs-dev] Lrint/lrintf |
I thinking there is no lrint/lrintf on Windows? On Fri, Mar 2, 2012 at 6:02 PM, |
Date | 2012-03-02 18:52 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Lrint/lrintf |
The question is not whether lrint is available on Windows but whether it is available in the compiler. I have verified that lrint and lrintf are available in the current MinGW runtime library. These functions do not seem to exist in Visual C++. Regards, Mike On Fri, Mar 2, 2012 at 1:05 PM, Steven Yi |
Date | 2012-03-02 18:59 |
From | Steven Yi |
Subject | Re: [Cs-dev] Lrint/lrintf |
Thanks for clarifying that point. I assume then that the checks for lrint/lrintf were added when someone went to compile with VC++. On Fri, Mar 2, 2012 at 6:52 PM, Michael Gogins |
Date | 2012-03-02 19:09 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Lrint/lrintf |
Someone can want to compile for VS but the likely hood of them being successful is another thing! Would this have any effect on those using the Csound API with visual studio? On 2 March 2012 18:59, Steven Yi |
Date | 2012-03-02 20:47 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Lrint/lrintf |
I assume you mean, what happens if Csound is compiled with MinGW but the user wants to link the Csound library with a Visual C++ application? In that case, the C API is fine, but the C++ API cannot be used. Regards, Mike On Fri, Mar 2, 2012 at 2:09 PM, Rory Walsh |
Date | 2012-03-02 23:17 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Lrint/lrintf |
Attachments | None None |
That would be a pain. On Friday, 2 March 2012, Michael Gogins <michael.gogins@gmail.com> wrote: > I assume you mean, what happens if Csound is compiled with MinGW but > the user wants to link the Csound library with a Visual C++ > application? > > In that case, the C API is fine, but the C++ API cannot be used. > > Regards, > Mike > > On Fri, Mar 2, 2012 at 2:09 PM, Rory Walsh <rorywalsh@ear.ie> wrote: >> Someone can want to compile for VS but the likely hood of them being >> successful is another thing! Would this have any effect on those using >> the Csound API with visual studio? >> >> On 2 March 2012 18:59, Steven Yi <stevenyi@gmail.com> wrote: >>> Thanks for clarifying that point. I assume then that the checks for >>> lrint/lrintf were added when someone went to compile with VC++. >>> >>> On Fri, Mar 2, 2012 at 6:52 PM, Michael Gogins <michael.gogins@gmail.com> wrote: >>>> The question is not whether lrint is available on Windows but whether >>>> it is available in the compiler. >>>> >>>> I have verified that lrint and lrintf are available in the current >>>> MinGW runtime library. These functions do not seem to exist in Visual >>>> C++. >>>> >>>> Regards, >>>> Mike >>>> >>>> >>>> >>>> On Fri, Mar 2, 2012 at 1:05 PM, Steven Yi <stevenyi@gmail.com> wrote: >>>>> I thinking there is no lrint/lrintf on Windows? >>>>> >>>>> On Fri, Mar 2, 2012 at 6:02 PM, <jpff@cs.bath.ac.uk> wrote: >>>>>>> What could be a rationale for not using lrint or lrintf? As I >>>>>>> understand it, lrintf wil very likely be faster than whatever >>>>>>> alternative. >>>>>>> >>>>>>> -- >>>>>> >>>>>> Not ANSI C89 functions >>>>>> >>>>>> If available yes they should be used IMHO >>>>>> >>>>>> ==John ff >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Virtualization & Cloud Management Using Capacity Planning >>>>>> Cloud computing makes use of virtualization - but cloud computing >>>>>> also focuses on allowing computing to be delivered as a service. >>>>>> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >>>>>> _______________________________________________ >>>>>> Csound-devel mailing list >>>>>> Csound-devel@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Virtualization & Cloud Management Using Capacity Planning >>>>> Cloud computing makes use of virtualization - but cloud computing >>>>> also focuses on allowing computing to be delivered as a service. >>>>> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >>>>> _______________________________________________ >>>>> Csound-devel mailing list >>>>> Csound-devel@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>>> >>>> >>>> -- >>>> Michael Gogins >>>> Irreducible Productions >>>> http://www.michael-gogins.com >>>> Michael dot Gogins at gmail dot com >>>> >>>> ------------------------------------------------------------------------------ >>>> Virtualization & Cloud Management Using Capacity Planning >>>> Cloud computing makes use of virtualization - but cloud computing >>>> also focuses on allowing computing |