@@ -557,82 +557,66 @@ macro_rules! impl_float_const {
557
557
$( $( DefaultAllocator : Allocator <$dim> + Allocator <U1 , $dim> + Allocator <$dim, $dim>, ) *
558
558
DefaultAllocator : Allocator <$( $dim, ) * >) ?
559
559
{
560
- #[ allow( non_snake_case) ]
561
560
fn E ( ) -> Self {
562
561
Self :: from( F :: E ( ) )
563
562
}
564
563
565
- #[ allow( non_snake_case) ]
566
564
fn FRAC_1_PI ( ) -> Self {
567
565
Self :: from( F :: FRAC_1_PI ( ) )
568
566
}
569
567
570
- #[ allow( non_snake_case) ]
571
568
fn FRAC_1_SQRT_2 ( ) -> Self {
572
569
Self :: from( F :: FRAC_1_SQRT_2 ( ) )
573
570
}
574
571
575
- #[ allow( non_snake_case) ]
576
572
fn FRAC_2_PI ( ) -> Self {
577
573
Self :: from( F :: FRAC_2_PI ( ) )
578
574
}
579
575
580
- #[ allow( non_snake_case) ]
581
576
fn FRAC_2_SQRT_PI ( ) -> Self {
582
577
Self :: from( F :: FRAC_2_SQRT_PI ( ) )
583
578
}
584
579
585
- #[ allow( non_snake_case) ]
586
580
fn FRAC_PI_2 ( ) -> Self {
587
581
Self :: from( F :: FRAC_PI_2 ( ) )
588
582
}
589
583
590
- #[ allow( non_snake_case) ]
591
584
fn FRAC_PI_3 ( ) -> Self {
592
585
Self :: from( F :: FRAC_PI_3 ( ) )
593
586
}
594
587
595
- #[ allow( non_snake_case) ]
596
588
fn FRAC_PI_4 ( ) -> Self {
597
589
Self :: from( F :: FRAC_PI_4 ( ) )
598
590
}
599
591
600
- #[ allow( non_snake_case) ]
601
592
fn FRAC_PI_6 ( ) -> Self {
602
593
Self :: from( F :: FRAC_PI_6 ( ) )
603
594
}
604
595
605
- #[ allow( non_snake_case) ]
606
596
fn FRAC_PI_8 ( ) -> Self {
607
597
Self :: from( F :: FRAC_PI_8 ( ) )
608
598
}
609
599
610
- #[ allow( non_snake_case) ]
611
600
fn LN_10 ( ) -> Self {
612
601
Self :: from( F :: LN_10 ( ) )
613
602
}
614
603
615
- #[ allow( non_snake_case) ]
616
604
fn LN_2 ( ) -> Self {
617
605
Self :: from( F :: LN_2 ( ) )
618
606
}
619
607
620
- #[ allow( non_snake_case) ]
621
608
fn LOG10_E ( ) -> Self {
622
609
Self :: from( F :: LOG10_E ( ) )
623
610
}
624
611
625
- #[ allow( non_snake_case) ]
626
612
fn LOG2_E ( ) -> Self {
627
613
Self :: from( F :: LOG2_E ( ) )
628
614
}
629
615
630
- #[ allow( non_snake_case) ]
631
616
fn PI ( ) -> Self {
632
617
Self :: from( F :: PI ( ) )
633
618
}
634
619
635
- #[ allow( non_snake_case) ]
636
620
fn SQRT_2 ( ) -> Self {
637
621
Self :: from( F :: SQRT_2 ( ) )
638
622
}
0 commit comments