Received: from PCH.mit.edu (18.7.21.50) by mail.efplus.com (192.168.0.8) with Microsoft SMTP Server (TLS) id 8.3.485.1; Thu, 17 Sep 2020 01:09:18 -0700 Received: from PCH.MIT.EDU (localhost.localdomain [127.0.0.1]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 08H7vq7C028564; Thu, 17 Sep 2020 03:58:16 -0400 Received: from outgoing-exchange-3.mit.edu (OUTGOING-EXCHANGE-3.MIT.EDU [18.9.28.13]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 08H7viQM028552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 17 Sep 2020 03:57:51 -0400 Received: from oc11exedge2.exchange.mit.edu (OC11EXEDGE2.EXCHANGE.MIT.EDU [18.9.3.18]) by outgoing-exchange-3.mit.edu (8.14.7/8.12.4) with ESMTP id 08H7vgPE022949 for ; Thu, 17 Sep 2020 03:57:51 -0400 Received: from w92exhyb1.exchange.mit.edu (18.7.71.12) by oc11exedge2.exchange.mit.edu (18.9.3.18) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Thu, 17 Sep 2020 03:57:41 -0400 Received: from oc11exhyb6.exchange.mit.edu (18.9.1.111) by w92exhyb1.exchange.mit.edu (18.7.71.12) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 17 Sep 2020 03:57:47 -0400 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.175) by oc11exhyb6.exchange.mit.edu (18.9.1.111) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Thu, 17 Sep 2020 03:57:47 -0400 Received: from DM3PR12CA0125.namprd12.prod.outlook.com (2603:10b6:0:51::21) by DM5PR01MB2297.prod.exchangelabs.com (2603:10b6:3:7::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.17; Thu, 17 Sep 2020 07:57:46 +0000 Received: from DM3NAM03FT062.eop-NAM03.prod.protection.outlook.com (2603:10b6:0:51:cafe::1f) by DM3PR12CA0125.outlook.office365.com (2603:10b6:0:51::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.14 via Frontend Transport; Thu, 17 Sep 2020 07:57:46 +0000 Received: from mail-wr1-f47.google.com (209.85.221.47) by DM3NAM03FT062.mail.protection.outlook.com (10.152.83.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.15 via Frontend Transport; Thu, 17 Sep 2020 07:57:46 +0000 Received: by mail-wr1-f47.google.com with SMTP id e16so976647wrm.2 for ; Thu, 17 Sep 2020 00:57:46 -0700 (PDT) Received: from [192.168.0.2] ([94.5.75.155]) by smtp.gmail.com with ESMTPSA id k22sm38230594wrd.29.2020.09.17.00.57.43 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Sep 2020 00:57:44 -0700 (PDT) From: Mike To: "piclist@mit.edu" Sender: "piclist-bounces@mit.edu" Date: Thu, 17 Sep 2020 00:57:43 -0700 Subject: Re: [AVR] square on AVR Thread-Topic: [AVR] square on AVR Thread-Index: AdaMydgi2GYNmHtEQl+8Z0M8JrOupw== Message-ID: References: <20200917143553.1f650e132099b5782f4d0416@tom.com> List-Help: List-Subscribe: , List-Unsubscribe: , In-Reply-To: <20200917143553.1f650e132099b5782f4d0416@tom.com> Reply-To: Microcontroller discussion list - Public. Accept-Language: en-US Content-Language: en-GB X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-AuthSource: TS500.efplus4.local X-MS-Has-Attach: X-Auto-Response-Suppress: All X-MS-Exchange-Organization-SenderIdResult: Pass X-MS-Exchange-Organization-PRD: mit.edu X-MS-TNEF-Correlator: received-spf: Pass (protection.outlook.com: domain of gmail.com designates 209.85.221.47 as permitted sender) receiver=protection.outlook.com; client-ip=209.85.221.47; helo=mail-wr1-f47.google.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=1DeHP61A0f7Scok77Prme4LtT8q6Qx4RLp3eF8uXGL0=; b=qX0LR5tRp3l+/ep56+29Nl1lVY1f3D20PxZmEH+3rrj+UO0irJsz2Q2rVOPfr4MRLB 5WgS2bxHAcGtABgiHOQ6W1Ejk8dcErT62A8x0fe2FUsqPTR8Fwg37GW5vpdz0tO0qkKd TKHcu5LT75UPQ3+Ef3Ez1KBFpv4k7i9rUdi/tYKVdwIXd5HPbZmTwobwiJNuIzoozRbM 0scsW1vVcx17P2AhI/TBJAr7rmJo7yeTanLiBf0Gu17FiLRH8c2SW6+Jvu6N7MTV2+Xr z2VcR+GJeYH7Gzn/SyLJ10A78ecx8Duv0oPreN1D3nl1qURcjCiz3Ph0OY/NfPc+SS3z KyBw== authentication-results: spf=pass (sender IP is 209.85.221.47) smtp.mailfrom=gmail.com; mit.edu; dkim=pass (signature was verified) header.d=gmail.com; mit.edu; dmarc=pass action=none header.from=gmail.com; user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 errors-to: piclist-bounces@mit.edu list-id: "Microcontroller discussion list - Public." list-post: x-beenthere: piclist@mit.edu x-mailman-version: 2.1.6 x-received: by 2002:adf:de8b:: with SMTP id w11mr30493960wrl.401.1600329464844; Thu, 17 Sep 2020 00:57:44 -0700 (PDT) x-topics: [AVR] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 The Doom square root is a very clever bit of code, but it relies on the=20 32bit floating point format which you probably won't be using on an AVR=20 if speed is important. Mike On 17/09/2020 07:35, Zona wrote: > You can find one in source code of DOOM. > which was running on 66MHz x86, supply a 3D battle field. > > > On Sat, 12 Sep 2020 00:48:16 +0000 > madscientistatlarge wrote: > >> Sorry, that should be square root (time for a nap). It would be on >> an atmega2560 AVR, running at 16MHZ. >> >> >> Sent with ProtonMail Secure Email. >> >> >> >> --=20 >> http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist > --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .