I was afraid that might be the case.  Suggested revised routines below
Jon
*
*
*::routine floor
*
*return arg(1)%1 - (arg(1) \= abs(arg(1)))
*
*
*
*::routine ceil
*
*return arg(1)%1 + (arg(1) = abs(arg(1)))
*




On 14 March 2012 04:46, CVBruce <cvbr...@gmail.com> wrote:

> I think that floor is wrong too.  FLOOR(-2.1) => -3 where as -2.1%1 => -2,
> I believe.  I would have to try it out to be sure.
>
> Bruce
>
> On Mar 13, 2012, at 5:13 PM, Sanford Geiger <sanford.gei...@live.com>
> wrote:
>
> I just realized that all the functions are already there. They are just
> documented separately. I do need the Floor function, but I may not need
> Ceil. I do thank you all for your time.    ****
>
> ** **
>
> *From:* CVBruce [mailto:cvbr...@gmail.com]
> *Sent:* Tuesday, March 13, 2012 7:38 PM
> *To:* Open Object Rexx Developer Mailing List
> *Subject:* Re: [Oorexx-devel] Missing built-in functions in ooRexx****
>
> ** **
>
> If you have ooRexx 4, then you have the math functions.  See the document
> named rxmath for instructions on its use.  There should be a librxmath
> library or dll somewhere.****
>
> ** **
>
> Bruce****
>
> On Mar 13, 2012, at 4:28 PM, Sanford Geiger wrote:****
>
>
>
> ****
>
> The BITAND, BITOR, and BITXOR are the same as BOOL. Thankx. I must have
> overlooked them and you are right about CEIL.****
>
>  ****
>
>  ****
>
> *From:* CVBruce [mailto:cvbr...@gmail.com]
> *Sent:* Tuesday, March 13, 2012 7:17 PM
> *To:* Open Object Rexx Developer Mailing List
> *Subject:* Re: [Oorexx-devel] Missing built-in functions in ooRexx****
>
>  ****
>
> Have you looked at the BITAND BITOR, and BITXOR built-in functions?****
>
>  ****
>
> Bruce****
>
> On Mar 13, 2012, at 3:52 PM, Sanford Geiger wrote:****
>
>
>
>
> ****
>
> Ok. How can I download the math package. Bool is a Boolean function (i.e.
> ANDing or ORing using a bit mask). Your Floor and Ceil routines are fine. I
> should have thought of that. Thank you.****
>
>  ****
>
> *From:* Sahananda (Jon) Wolfers [mailto:sahana...@windhorse.biz]
> *Sent:* Tuesday, March 13, 2012 6:37 PM
> *To:* Open Object Rexx Developer Mailing List
> *Subject:* Re: [Oorexx-devel] Missing built-in functions in ooRexx****
>
>  ****
>
> I've never used floor or ceil, so not sure how they behave with negative
> numbers, but would this do?****
>
>  ****
>
> ::routine floor public****
>
> return arg(1)%1****
>
>  ****
>
> ::routine ceil public****
>
> return arg(1)%1+1****
>
>  ****
>
> The trig functions have always been there in the ooRexx maths package****
>
> I don't know what the BOOL function does.****
>
>  ****
>
> Jon****
>
> On 13 March 2012 22:23, Sanford Geiger <sanford.gei...@live.com> wrote:***
> *
>
>  ****
>
>  I was wondering when OOREXX would have the following built-in functions
> which have been always available in PL/I:****
>
>         FLOOR****
>
>         CEIL****
>
>         SIN****
>
>         COS****
>
>         ASIN****
>
>         ACOS****
>
>         TAN****
>
>         ATAN****
>
>         BOOL****
>
>                   ****
>
>  ****
>
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel****
>
>  ****
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
>
> http://p.sf.net/sfu/learndevnow-d2d_______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel****
>
>  ****
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
>
> http://p.sf.net/sfu/learndevnow-d2d_______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-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/
>
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-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/
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-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/
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to