Qore Programming Language Reference Manual 2.1.1
Loading...
Searching...
No Matches
ql_math.dox.h
1
3namespace Qore {
8
10
24int abs(int i);
25
27
42
44
58float abs(softfloat f);
59
61
65float abs();
66
68
81
83
95float acos(softfloat f);
96
98
111
113
125float asin(softfloat f);
126
128
132float asin();
133
135
148
150
162float atan(softfloat f);
163
165
169float atan();
170
172
186
188
201float atan2(softfloat y, softfloat x);
202
204
208float atan2();
209
211
224
226
238float cbrt(softfloat f);
239
241
245float cbrt();
246
248
266int ceil(int num, int prec = 0);
267
269
289float ceil(softfloat num, int prec = 0);
290
292
312number ceil(number num, int prec = 0);
313
315
319float ceil();
320
322
334int compare(number n1, number n2, number epsilon);
335
337
349int compare(float n1, float n2, float epsilon);
350
352
365
367
379float cos(float f);
380
382
386float cos();
387
389
402
404
416float cosh(softfloat f);
417
419
423float cosh();
424
426
439
441
453float exp(softfloat f);
454
456
460float exp();
461
463
476
478
490float exp2(softfloat f);
491
493
497float exp2();
498
500
513
515
527float expm1(softfloat f);
528
530
534float expm1();
535
537
555int floor(int num, int prec = 0);
556
558
578float floor(softfloat f, int prec = 0);
579
581
601number floor(number num, int prec = 0);
602
604
608float floor();
609
611
625
627
640float hypot(softfloat x, softfloat y);
641
643
647float hypot();
648
650
663
665
677float log10(softfloat f);
678
680
684float log10();
685
687
700
702
714float log1p(softfloat f);
715
717
721float log1p();
722
724
736float logb(softfloat f);
737
739
743float logb();
744
746
759
761
773float nlog(softfloat f);
774
776
780float nlog();
781
783
799
801
817float pow(softfloat x = 0.0, softfloat y = 0.0);
818
820
836int pow(int x = 0, int y = 0);
837
839
855int round(softint num, int prec = 0);
856
858
879float round(softfloat num, int prec = 0);
880
882
900number round(number num, int prec = 0);
901
903
907float round();
908
910
923
925
937float sin(softfloat f);
938
940
944float sin();
945
947
960
962
974float sinh(softfloat f);
975
977
981float sinh();
982
984
997
999
1011float sqrt(softfloat f);
1012
1014
1018float sqrt();
1019
1021
1034
1036
1048float tan(softfloat f);
1049
1051
1055float tan();
1056
1058
1071
1073
1085float tanh(softfloat f);
1086
1088
1092float tanh();
1093
1095}
1096
1098namespace Qore {
1103
1105
1107 const MAXINT = LLONG_MAX;
1109
1111 const MININT = qore(QoreValue(-LLONG_MAX - 1));
1113 const M_PI = 3.14159265358979323846;
1115
1117 const M_PIn = qore(pi_number());
1119}
const M_PIn
PI (arbitrary-precision numeric)
Definition ql_math.dox.h:1117
const MAXINT
largest integer
Definition ql_math.dox.h:1107
const MININT
smallest integer
Definition ql_math.dox.h:1111
const M_PI
PI (floating-point)
Definition ql_math.dox.h:1113
float cos()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
int compare(number n1, number n2, number epsilon)
Compares numbers with a given epsilon.
float cosh()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float hypot()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float tan()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float exp2()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float expm1()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
number acos(number n)
Returns the value in radians of the arc cosine of the given value.
float cbrt()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float sinh()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float asin()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float abs()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float log1p()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float tanh()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float sqrt()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float log10()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float atan()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float logb()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float floor()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float sin()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float nlog()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float atan2()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float ceil()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float exp()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
float round()
This function variant does nothing at all; it is only included for backwards-compatibility with qore ...
number pow(number x, number y)
Returns a number raised to the power of another number.
number number()
Always returns 0.0.
main Qore-language namespace
Definition Pseudo_QC_All.dox.h:3