Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.javascript Subject: Re: Make own type (object) type in javascript. Date: Sun, 07 Jun 2015 00:57:49 +0100 Organization: A noiseless patient Spider Lines: 11 Message-ID: <87iob0l79e.fsf@bsb.me.uk> References: <66362d49-af1e-400b-b026-0e6d9b679f98@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="31728"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8/e2/0DPNFJbNG4/fZCrf/Sb12yJoTRc=" Cancel-Lock: sha1:3q9hax1d+7fwZliN3i2oZ/JbwL8= sha1:+nw7zeWWztMS2yCCAVl7+CRlgmc= X-BSB-Auth: 1.ed67b8c25bfc1f818c73.20150607005749BST.87iob0l79e.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:28007 jonas.thornvall@gmail.com writes: > Is it possible to create an object holding holding 1 bit, 2 bit, 3 bit > that still can be treated as a numerical value that can be added and > subtracted, without bit operations? No. -- Ben.