public
Description: The Nu programming language.
Homepage: http://programming.nu
Clone URL: git://github.com/timburks/nu.git
Added method declarations and descriptions for additional NuMath 
functions.
chapados (author)
Fri Jun 13 21:26:48 -0700 2008
commit  e9a96cd71fc80b60eccaac6b0b67f65d86c43711
tree    8900111b426cc4469a8de30fa17a0710693f0ec1
parent  2b9142078ba11ee1732889a814f1a15dc1cceea5
...
203
204
205
 
 
206
207
208
209
 
 
 
 
 
 
 
 
 
 
 
 
210
211
212
...
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
0
@@ -203,10 +203,24 @@ limitations under the License.
0
 + (double) sqrt: (double) x;
0
 /*! Get the square of a number. */
0
 + (double) square: (double) x;
0
+/*! Get the cubed root of a number. */
0
++ (double) cbrt: (double) x;
0
 /*! Get the cosine of an angle. */
0
 + (double) cos: (double) x;
0
 /*! Get the sine of an angle. */
0
 + (double) sin: (double) x;
0
+/*! Get the largest integral value that is not greater than x.*/
0
++ (double) floor: (double) x;
0
+/*! Get the smallest integral value that is greater than or equal to x.*/
0
++ (double) ceil: (double) x;
0
+/*! Get the integral value nearest to x by always rounding half-way cases away from zero. */
0
++ (double) round: (double) x;
0
+/*! Raise x to the power of y */
0
++ (double) raiseNumber: (double) x toPower: (double) y;
0
+/*! Get the qouteint of x divided by y as an integer */
0
++ (int) integerDivide:(int) x by:(int) y;
0
+/*! Get the remainder of x divided by y as an integer */
0
++ (int) integerMod:(int) x by:(int) y;
0
 /*! Get a random integer. */
0
 + (long) random;
0
 /*! Seed the random number generator. */

Comments

    No one has commented yet.