Equation for real number to binary conversion

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite
1












A real number can be converted into binary as given in the attached figure. How can we represent this process using an equation?



The method of converting a real number to binary







share|cite|improve this question























    up vote
    0
    down vote

    favorite
    1












    A real number can be converted into binary as given in the attached figure. How can we represent this process using an equation?



    The method of converting a real number to binary







    share|cite|improve this question





















      up vote
      0
      down vote

      favorite
      1









      up vote
      0
      down vote

      favorite
      1






      1





      A real number can be converted into binary as given in the attached figure. How can we represent this process using an equation?



      The method of converting a real number to binary







      share|cite|improve this question











      A real number can be converted into binary as given in the attached figure. How can we represent this process using an equation?



      The method of converting a real number to binary









      share|cite|improve this question










      share|cite|improve this question




      share|cite|improve this question









      asked Jul 31 at 8:28









      cuser

      52




      52




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          Let $xinmathbbR$ and $p>1$ be an integer. Is this what you are asking for (with $p=2$)
          $$x=textsign(x),sum_k=-infty^+infty,Big(leftlfloor p^-k, p^k,?$$






          share|cite|improve this answer























          • Since you took $x$'s sign out front, shouldn't the inner $x$ be $|x|$ ?
            – Jaap Scherphuis
            Jul 31 at 11:57











          • Yep, I forgot. Thanks.
            – Batominovski
            Jul 31 at 11:58










          • @Batominovski Thanks.
            – cuser
            Jul 31 at 12:29










          • @JaapScherphuis Thanks.
            – cuser
            Jul 31 at 12:29











          Your Answer




          StackExchange.ifUsing("editor", function ()
          return StackExchange.using("mathjaxEditing", function ()
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          );
          );
          , "mathjax-editing");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "69"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2867805%2fequation-for-real-number-to-binary-conversion%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote



          accepted










          Let $xinmathbbR$ and $p>1$ be an integer. Is this what you are asking for (with $p=2$)
          $$x=textsign(x),sum_k=-infty^+infty,Big(leftlfloor p^-k, p^k,?$$






          share|cite|improve this answer























          • Since you took $x$'s sign out front, shouldn't the inner $x$ be $|x|$ ?
            – Jaap Scherphuis
            Jul 31 at 11:57











          • Yep, I forgot. Thanks.
            – Batominovski
            Jul 31 at 11:58










          • @Batominovski Thanks.
            – cuser
            Jul 31 at 12:29










          • @JaapScherphuis Thanks.
            – cuser
            Jul 31 at 12:29















          up vote
          0
          down vote



          accepted










          Let $xinmathbbR$ and $p>1$ be an integer. Is this what you are asking for (with $p=2$)
          $$x=textsign(x),sum_k=-infty^+infty,Big(leftlfloor p^-k, p^k,?$$






          share|cite|improve this answer























          • Since you took $x$'s sign out front, shouldn't the inner $x$ be $|x|$ ?
            – Jaap Scherphuis
            Jul 31 at 11:57











          • Yep, I forgot. Thanks.
            – Batominovski
            Jul 31 at 11:58










          • @Batominovski Thanks.
            – cuser
            Jul 31 at 12:29










          • @JaapScherphuis Thanks.
            – cuser
            Jul 31 at 12:29













          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          Let $xinmathbbR$ and $p>1$ be an integer. Is this what you are asking for (with $p=2$)
          $$x=textsign(x),sum_k=-infty^+infty,Big(leftlfloor p^-k, p^k,?$$






          share|cite|improve this answer















          Let $xinmathbbR$ and $p>1$ be an integer. Is this what you are asking for (with $p=2$)
          $$x=textsign(x),sum_k=-infty^+infty,Big(leftlfloor p^-k, p^k,?$$







          share|cite|improve this answer















          share|cite|improve this answer



          share|cite|improve this answer








          edited Jul 31 at 11:58


























          answered Jul 31 at 8:33









          Batominovski

          22.8k22776




          22.8k22776











          • Since you took $x$'s sign out front, shouldn't the inner $x$ be $|x|$ ?
            – Jaap Scherphuis
            Jul 31 at 11:57











          • Yep, I forgot. Thanks.
            – Batominovski
            Jul 31 at 11:58










          • @Batominovski Thanks.
            – cuser
            Jul 31 at 12:29










          • @JaapScherphuis Thanks.
            – cuser
            Jul 31 at 12:29

















          • Since you took $x$'s sign out front, shouldn't the inner $x$ be $|x|$ ?
            – Jaap Scherphuis
            Jul 31 at 11:57











          • Yep, I forgot. Thanks.
            – Batominovski
            Jul 31 at 11:58










          • @Batominovski Thanks.
            – cuser
            Jul 31 at 12:29










          • @JaapScherphuis Thanks.
            – cuser
            Jul 31 at 12:29
















          Since you took $x$'s sign out front, shouldn't the inner $x$ be $|x|$ ?
          – Jaap Scherphuis
          Jul 31 at 11:57





          Since you took $x$'s sign out front, shouldn't the inner $x$ be $|x|$ ?
          – Jaap Scherphuis
          Jul 31 at 11:57













          Yep, I forgot. Thanks.
          – Batominovski
          Jul 31 at 11:58




          Yep, I forgot. Thanks.
          – Batominovski
          Jul 31 at 11:58












          @Batominovski Thanks.
          – cuser
          Jul 31 at 12:29




          @Batominovski Thanks.
          – cuser
          Jul 31 at 12:29












          @JaapScherphuis Thanks.
          – cuser
          Jul 31 at 12:29





          @JaapScherphuis Thanks.
          – cuser
          Jul 31 at 12:29













           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2867805%2fequation-for-real-number-to-binary-conversion%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          What is the equation of a 3D cone with generalised tilt?

          Color the edges and diagonals of a regular polygon

          Relationship between determinant of matrix and determinant of adjoint?