Definition at line 489 of file XPathConvert.cs.
490 {
491 int num = 0;
494 int num4 = (int)((
num2 >> 20) & 0x7FF);
500 {
501 if (
num4 >= 1023 &&
num4 <= 1075 && dbl == Math.Floor(dbl))
502 {
506 {
508 }
510 {
512 }
514 {
516 }
518 {
520 }
524 {
529 }
532 }
542 {
545 {
547 }
548 }
549 }
550 else
551 {
561 {
563 }
567 }
569 {
572 {
577 }
579 {
585 }
586 }
588 {
591 {
596 }
598 {
604 }
605 }
617 if (
num8 >= 100000000)
618 {
620 num += 8;
621 }
622 else
623 {
625 {
627 num += 4;
628 }
630 {
632 num += 2;
633 }
634 }
636 {
638 num++;
639 }
640 num++;
642 while (true)
643 {
649 {
652 {
654 continue;
655 }
660 if (
num8 < 100000000)
661 {
671 continue;
672 }
673 }
674 else
675 {
681 {
683 {
684 break;
685 }
687 {
689 break;
690 }
692 {
694 break;
695 }
696 }
697 }
699 return false;
700 }
705 return true;
706 }
static readonly double[] C10toN
static uint AddU(ref uint u1, uint u2)
static uint DblLo(double dbl)
static uint DblHi(double dbl)
BigNumber(uint u0, uint u1, uint u2, int exp, uint error)
static readonly BigNumber[] s_tenPowersNeg
static readonly BigNumber[] s_tenPowersPos
References System.Xml.Xsl.XPathConvert.BigNumber._exp, System.Xml.Xsl.XPathConvert.AddU(), System.Xml.Xsl.XPathConvert.C10toN, System.Xml.Xsl.XPathConvert.DblHi(), System.Xml.Xsl.XPathConvert.DblLo(), System.Xml.Dictionary, System.Math.Floor(), System.Xml.Xsl.XPathConvert.BigNumber.MakeUpperBound(), System.Xml.Xsl.XPathConvert.BigNumber.s_tenPowersNeg, and System.Xml.Xsl.XPathConvert.BigNumber.s_tenPowersPos.
Referenced by System.Xml.Xsl.XPathConvert.FloatingDecimal.InitFromDouble().