@@ -371,9 +371,10 @@ impl f32 {
371
371
/// It might have a different sequence of rounding operations than `powf`,
372
372
/// so the results are not guaranteed to agree.
373
373
///
374
- /// # Platform-specific precision
374
+ /// # Unspecified precision
375
375
///
376
- /// The precision of this function varies by platform and Rust version.
376
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
377
+ /// can even differ within the same execution from one invocation to the next.
377
378
///
378
379
/// # Examples
379
380
///
@@ -393,9 +394,10 @@ impl f32 {
393
394
394
395
/// Raises a number to a floating point power.
395
396
///
396
- /// # Platform-specific precision
397
+ /// # Unspecified precision
397
398
///
398
- /// The precision of this function varies by platform and Rust version.
399
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
400
+ /// can even differ within the same execution from one invocation to the next.
399
401
///
400
402
/// # Examples
401
403
///
@@ -444,9 +446,10 @@ impl f32 {
444
446
445
447
/// Returns `e^(self)`, (the exponential function).
446
448
///
447
- /// # Platform-specific precision
449
+ /// # Unspecified precision
448
450
///
449
- /// The precision of this function varies by platform and Rust version.
451
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
452
+ /// can even differ within the same execution from one invocation to the next.
450
453
///
451
454
/// # Examples
452
455
///
@@ -470,9 +473,10 @@ impl f32 {
470
473
471
474
/// Returns `2^(self)`.
472
475
///
473
- /// # Platform-specific precision
476
+ /// # Unspecified precision
474
477
///
475
- /// The precision of this function varies by platform and Rust version.
478
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
479
+ /// can even differ within the same execution from one invocation to the next.
476
480
///
477
481
/// # Examples
478
482
///
@@ -494,9 +498,10 @@ impl f32 {
494
498
495
499
/// Returns the natural logarithm of the number.
496
500
///
497
- /// # Platform-specific precision
501
+ /// # Unspecified precision
498
502
///
499
- /// The precision of this function varies by platform and Rust version.
503
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
504
+ /// can even differ within the same execution from one invocation to the next.
500
505
///
501
506
/// # Examples
502
507
///
@@ -524,9 +529,10 @@ impl f32 {
524
529
/// `self.log2()` can produce more accurate results for base 2, and
525
530
/// `self.log10()` can produce more accurate results for base 10.
526
531
///
527
- /// # Platform-specific precision
532
+ /// # Unspecified precision
528
533
///
529
- /// The precision of this function varies by platform and Rust version.
534
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
535
+ /// can even differ within the same execution from one invocation to the next.
530
536
///
531
537
/// # Examples
532
538
///
@@ -548,9 +554,10 @@ impl f32 {
548
554
549
555
/// Returns the base 2 logarithm of the number.
550
556
///
551
- /// # Platform-specific precision
557
+ /// # Unspecified precision
552
558
///
553
- /// The precision of this function varies by platform and Rust version.
559
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
560
+ /// can even differ within the same execution from one invocation to the next.
554
561
///
555
562
/// # Examples
556
563
///
@@ -572,9 +579,10 @@ impl f32 {
572
579
573
580
/// Returns the base 10 logarithm of the number.
574
581
///
575
- /// # Platform-specific precision
582
+ /// # Unspecified precision
576
583
///
577
- /// The precision of this function varies by platform and Rust version.
584
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
585
+ /// can even differ within the same execution from one invocation to the next.
578
586
///
579
587
/// # Examples
580
588
///
@@ -599,9 +607,10 @@ impl f32 {
599
607
/// * If `self <= other`: `0.0`
600
608
/// * Else: `self - other`
601
609
///
602
- /// # Platform-specific precision
610
+ /// # Unspecified precision
603
611
///
604
- /// The precision of this function varies by platform and Rust version.
612
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
613
+ /// can even differ within the same execution from one invocation to the next.
605
614
/// This function currently corresponds to the `fdimf` from libc on Unix
606
615
/// and Windows. Note that this might change in the future.
607
616
///
@@ -637,9 +646,10 @@ impl f32 {
637
646
638
647
/// Returns the cube root of a number.
639
648
///
640
- /// # Platform-specific precision
649
+ /// # Unspecified precision
641
650
///
642
- /// The precision of this function varies by platform and Rust version.
651
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
652
+ /// can even differ within the same execution from one invocation to the next.
643
653
/// This function currently corresponds to the `cbrtf` from libc on Unix
644
654
/// and Windows. Note that this might change in the future.
645
655
///
@@ -666,9 +676,10 @@ impl f32 {
666
676
/// right-angle triangle with other sides having length `x.abs()` and
667
677
/// `y.abs()`.
668
678
///
669
- /// # Platform-specific precision
679
+ /// # Unspecified precision
670
680
///
671
- /// The precision of this function varies by platform and Rust version.
681
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
682
+ /// can even differ within the same execution from one invocation to the next.
672
683
/// This function currently corresponds to the `hypotf` from libc on Unix
673
684
/// and Windows. Note that this might change in the future.
674
685
///
@@ -693,9 +704,10 @@ impl f32 {
693
704
694
705
/// Computes the sine of a number (in radians).
695
706
///
696
- /// # Platform-specific precision
707
+ /// # Unspecified precision
697
708
///
698
- /// The precision of this function varies by platform and Rust version.
709
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
710
+ /// can even differ within the same execution from one invocation to the next.
699
711
///
700
712
/// # Examples
701
713
///
@@ -716,9 +728,10 @@ impl f32 {
716
728
717
729
/// Computes the cosine of a number (in radians).
718
730
///
719
- /// # Platform-specific precision
731
+ /// # Unspecified precision
720
732
///
721
- /// The precision of this function varies by platform and Rust version.
733
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
734
+ /// can even differ within the same execution from one invocation to the next.
722
735
///
723
736
/// # Examples
724
737
///
@@ -739,9 +752,10 @@ impl f32 {
739
752
740
753
/// Computes the tangent of a number (in radians).
741
754
///
742
- /// # Platform-specific precision
755
+ /// # Unspecified precision
743
756
///
744
- /// The precision of this function varies by platform and Rust version.
757
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
758
+ /// can even differ within the same execution from one invocation to the next.
745
759
/// This function currently corresponds to the `tanf` from libc on Unix and
746
760
/// Windows. Note that this might change in the future.
747
761
///
@@ -765,9 +779,10 @@ impl f32 {
765
779
/// the range [-pi/2, pi/2] or NaN if the number is outside the range
766
780
/// [-1, 1].
767
781
///
768
- /// # Platform-specific precision
782
+ /// # Unspecified precision
769
783
///
770
- /// The precision of this function varies by platform and Rust version.
784
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
785
+ /// can even differ within the same execution from one invocation to the next.
771
786
/// This function currently corresponds to the `asinf` from libc on Unix
772
787
/// and Windows. Note that this might change in the future.
773
788
///
@@ -794,9 +809,10 @@ impl f32 {
794
809
/// the range [0, pi] or NaN if the number is outside the range
795
810
/// [-1, 1].
796
811
///
797
- /// # Platform-specific precision
812
+ /// # Unspecified precision
798
813
///
799
- /// The precision of this function varies by platform and Rust version.
814
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
815
+ /// can even differ within the same execution from one invocation to the next.
800
816
/// This function currently corresponds to the `acosf` from libc on Unix
801
817
/// and Windows. Note that this might change in the future.
802
818
///
@@ -822,9 +838,10 @@ impl f32 {
822
838
/// Computes the arctangent of a number. Return value is in radians in the
823
839
/// range [-pi/2, pi/2];
824
840
///
825
- /// # Platform-specific precision
841
+ /// # Unspecified precision
826
842
///
827
- /// The precision of this function varies by platform and Rust version.
843
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
844
+ /// can even differ within the same execution from one invocation to the next.
828
845
/// This function currently corresponds to the `atanf` from libc on Unix
829
846
/// and Windows. Note that this might change in the future.
830
847
///
@@ -854,9 +871,10 @@ impl f32 {
854
871
/// * `y >= 0`: `arctan(y/x) + pi` -> `(pi/2, pi]`
855
872
/// * `y < 0`: `arctan(y/x) - pi` -> `(-pi, -pi/2)`
856
873
///
857
- /// # Platform-specific precision
874
+ /// # Unspecified precision
858
875
///
859
- /// The precision of this function varies by platform and Rust version.
876
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
877
+ /// can even differ within the same execution from one invocation to the next.
860
878
/// This function currently corresponds to the `atan2f` from libc on Unix
861
879
/// and Windows. Note that this might change in the future.
862
880
///
@@ -890,9 +908,10 @@ impl f32 {
890
908
/// Simultaneously computes the sine and cosine of the number, `x`. Returns
891
909
/// `(sin(x), cos(x))`.
892
910
///
893
- /// # Platform-specific precision
911
+ /// # Unspecified precision
894
912
///
895
- /// The precision of this function varies by platform and Rust version.
913
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
914
+ /// can even differ within the same execution from one invocation to the next.
896
915
/// This function currently corresponds to the `(f32::sin(x),
897
916
/// f32::cos(x))`. Note that this might change in the future.
898
917
///
@@ -919,9 +938,10 @@ impl f32 {
919
938
/// Returns `e^(self) - 1` in a way that is accurate even if the
920
939
/// number is close to zero.
921
940
///
922
- /// # Platform-specific precision
941
+ /// # Unspecified precision
923
942
///
924
- /// The precision of this function varies by platform and Rust version.
943
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
944
+ /// can even differ within the same execution from one invocation to the next.
925
945
/// This function currently corresponds to the `expm1f` from libc on Unix
926
946
/// and Windows. Note that this might change in the future.
927
947
///
@@ -947,9 +967,10 @@ impl f32 {
947
967
/// Returns `ln(1+n)` (natural logarithm) more accurately than if
948
968
/// the operations were performed separately.
949
969
///
950
- /// # Platform-specific precision
970
+ /// # Unspecified precision
951
971
///
952
- /// The precision of this function varies by platform and Rust version.
972
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
973
+ /// can even differ within the same execution from one invocation to the next.
953
974
/// This function currently corresponds to the `log1pf` from libc on Unix
954
975
/// and Windows. Note that this might change in the future.
955
976
///
@@ -975,9 +996,10 @@ impl f32 {
975
996
976
997
/// Hyperbolic sine function.
977
998
///
978
- /// # Platform-specific precision
999
+ /// # Unspecified precision
979
1000
///
980
- /// The precision of this function varies by platform and Rust version.
1001
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
1002
+ /// can even differ within the same execution from one invocation to the next.
981
1003
/// This function currently corresponds to the `sinhf` from libc on Unix
982
1004
/// and Windows. Note that this might change in the future.
983
1005
///
@@ -1004,9 +1026,10 @@ impl f32 {
1004
1026
1005
1027
/// Hyperbolic cosine function.
1006
1028
///
1007
- /// # Platform-specific precision
1029
+ /// # Unspecified precision
1008
1030
///
1009
- /// The precision of this function varies by platform and Rust version.
1031
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
1032
+ /// can even differ within the same execution from one invocation to the next.
1010
1033
/// This function currently corresponds to the `coshf` from libc on Unix
1011
1034
/// and Windows. Note that this might change in the future.
1012
1035
///
@@ -1033,9 +1056,10 @@ impl f32 {
1033
1056
1034
1057
/// Hyperbolic tangent function.
1035
1058
///
1036
- /// # Platform-specific precision
1059
+ /// # Unspecified precision
1037
1060
///
1038
- /// The precision of this function varies by platform and Rust version.
1061
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
1062
+ /// can even differ within the same execution from one invocation to the next.
1039
1063
/// This function currently corresponds to the `tanhf` from libc on Unix
1040
1064
/// and Windows. Note that this might change in the future.
1041
1065
///
@@ -1062,9 +1086,10 @@ impl f32 {
1062
1086
1063
1087
/// Inverse hyperbolic sine function.
1064
1088
///
1065
- /// # Platform-specific precision
1089
+ /// # Unspecified precision
1066
1090
///
1067
- /// The precision of this function varies by platform and Rust version.
1091
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
1092
+ /// can even differ within the same execution from one invocation to the next.
1068
1093
///
1069
1094
/// # Examples
1070
1095
///
@@ -1089,9 +1114,10 @@ impl f32 {
1089
1114
1090
1115
/// Inverse hyperbolic cosine function.
1091
1116
///
1092
- /// # Platform-specific precision
1117
+ /// # Unspecified precision
1093
1118
///
1094
- /// The precision of this function varies by platform and Rust version.
1119
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
1120
+ /// can even differ within the same execution from one invocation to the next.
1095
1121
///
1096
1122
/// # Examples
1097
1123
///
@@ -1118,9 +1144,10 @@ impl f32 {
1118
1144
1119
1145
/// Inverse hyperbolic tangent function.
1120
1146
///
1121
- /// # Platform-specific precision
1147
+ /// # Unspecified precision
1122
1148
///
1123
- /// The precision of this function varies by platform and Rust version.
1149
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
1150
+ /// can even differ within the same execution from one invocation to the next.
1124
1151
///
1125
1152
/// # Examples
1126
1153
///
@@ -1143,9 +1170,10 @@ impl f32 {
1143
1170
1144
1171
/// Gamma function.
1145
1172
///
1146
- /// # Platform-specific precision
1173
+ /// # Unspecified precision
1147
1174
///
1148
- /// The precision of this function varies by platform and Rust version.
1175
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
1176
+ /// can even differ within the same execution from one invocation to the next.
1149
1177
/// This function currently corresponds to the `tgammaf` from libc on Unix
1150
1178
/// and Windows. Note that this might change in the future.
1151
1179
///
@@ -1171,9 +1199,10 @@ impl f32 {
1171
1199
///
1172
1200
/// The integer part of the tuple indicates the sign of the gamma function.
1173
1201
///
1174
- /// # Platform-specific precision
1202
+ /// # Unspecified precision
1175
1203
///
1176
- /// The precision of this function varies by platform and Rust version.
1204
+ /// The precision of this function is non-deterministic. This means it varies by platform, Rust version, and
1205
+ /// can even differ within the same execution from one invocation to the next.
1177
1206
/// This function currently corresponds to the `lgamma_r` from libc on Unix
1178
1207
/// and Windows. Note that this might change in the future.
1179
1208
///
0 commit comments