Re: Is 1111 1110 10 equal to 0xfe80 or 0x3fa?

Fred Baker <fredbaker.ietf@gmail.com> Thu, 06 June 2019 21:41 UTC

Return-Path: <fredbaker.ietf@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 44E1A12013E for <ipv6@ietfa.amsl.com>; Thu, 6 Jun 2019 14:41:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n16TUhqnX_Q0 for <ipv6@ietfa.amsl.com>; Thu, 6 Jun 2019 14:41:14 -0700 (PDT)
Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D440312013A for <ipv6@ietf.org>; Thu, 6 Jun 2019 14:41:14 -0700 (PDT)
Received: by mail-ot1-x32a.google.com with SMTP id l15so3412080otn.9 for <ipv6@ietf.org>; Thu, 06 Jun 2019 14:41:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=tNAUHCB39JwyyjXvzf/HKleigrE/K3b5Y20EvSHuhPk=; b=C6JR+xs+b/0L843j5O7k+20RTyr03n6BCj7TWDuyEAM7MbkVsrtjv6CbO8n3HqwjN1 U++6u/M8Xr7x+hT9h5i4M8cnF3VQ2XUAuYEnWAoVwVHYt31RUgh2wj2NCawLH+nkDicF ZlUb/F+niU6Bvn4lQv89sVTKDXRWOvSftEeYSYYrHllbMob8PnIr3QUywB5tIEcxcz4S gnpQx/DCIShrMZ6ktrG7p1omdaOoNuDRl0iEYpj9RVSFJsdAP04t9HPMjR1WqIJ4cG8S FnrCjK6fcQEAhAlDTh0sGlNK6ncTsPcdFlccC5QM6gyOz3oOD2rOswLFSAdVyXWAMGqr FUMA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=tNAUHCB39JwyyjXvzf/HKleigrE/K3b5Y20EvSHuhPk=; b=MDMDCNuArTZzRzV2Vp2/9kSd3D8lw9lYdiRcOCwIQm4H+vJZkU7PBkuHuzA7hjbTze oQdIYxlUsp8DbLf+7D8gbxOR4U3tcUh2G3kGj8iC23nvpYLMi+nqTy/C1sYMFTeJ056T WTI/ciQhGSuNu5Et0oZEcymWGCWpBbpeHC2mnuJDvJOkKgyTTNocp2h4sUQXU1kMXm00 G+Gh//vTyNkh7WCxCjDsI2D8qiTK/lbgUzQGcFHdRzsJBPsx0ExYlp4Yu8Gmck2JDKaQ aMeYFYugpBNNCYNwSz8IqgXAxFa+a5nFY+EMt5DnzgTPlwFR3/WAbH1PTWj3cBhC9a/u sl+A==
X-Gm-Message-State: APjAAAWaP9Wrt1NSB9pX430ObrNju6s9mtUja0SjZJQKSHGewB+7CKmU 9lqTzXQnR2pTqk6/Rfwmi9Y=
X-Google-Smtp-Source: APXvYqx3anrX436SMLSwzWS8OVqXiDjNVv22tjnUipWRUpwNtvQPREzZo/JViexMc1+fk13gW83JUQ==
X-Received: by 2002:a9d:5909:: with SMTP id t9mr4959754oth.120.1559857274164; Thu, 06 Jun 2019 14:41:14 -0700 (PDT)
Received: from ?IPv6:2600:8802:5903:df16::1002? ([2600:8802:5903:df16::1002]) by smtp.gmail.com with ESMTPSA id i13sm82799otl.27.2019.06.06.14.41.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jun 2019 14:41:13 -0700 (PDT)
From: Fred Baker <fredbaker.ietf@gmail.com>
Message-Id: <63DC2EEC-C456-4090-9242-6675F47B6351@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_D35A4C8C-0EDD-44F7-8665-9E3BB41A8767"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Subject: Re: Is 1111 1110 10 equal to 0xfe80 or 0x3fa?
Date: Thu, 06 Jun 2019 14:41:11 -0700
In-Reply-To: <a71b00b7-0e0c-242a-b3f7-147f4c6b2eb0@gmail.com>
Cc: IPv6 <ipv6@ietf.org>
To: Alexandre Petrescu <alexandre.petrescu@gmail.com>
References: <a71b00b7-0e0c-242a-b3f7-147f4c6b2eb0@gmail.com>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/JQ7HzoQeM3vzTinlqZFtiXsKkns>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Jun 2019 21:41:16 -0000


> On Jun 6, 2019, at 10:18 AM, Alexandre Petrescu <alexandre.petrescu@gmail.com> wrote:
> 
> I maintain that 1111 1110 10 equals 0x3fa, because that's what my Windows Calculator says: I type 1111 1110 10 and it converts to 0x3fa.

You're correct if those are the only bits. However, in 1111 1110 10 you have to also include 00 0000, because it's a /10 prefix. It's fe80::/10, not ten bits of information with the least significant bit in the "ones" location.
--------------------------------------------------------------------------------
The fact that there is a highway to hell and a stairway to heaven is an interesting comment on projected traffic volume...