From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MFoSHWWrUGRTDAEASxT56A (envelope-from ) for ; Tue, 02 May 2023 08:19:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6DHxHGWrUGQ3cgAAauVa8A (envelope-from ) for ; Tue, 02 May 2023 08:19:17 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AB75D21874 for ; Tue, 2 May 2023 08:19:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptjLF-0003BE-Pi; Tue, 02 May 2023 02:18:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptjLD-0003AS-Mv for emacs-orgmode@gnu.org; Tue, 02 May 2023 02:18:24 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptjLB-0008NY-NK for emacs-orgmode@gnu.org; Tue, 02 May 2023 02:18:23 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id D202C5C013C for ; Tue, 2 May 2023 02:18:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 02 May 2023 02:18:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x85.org; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm2; t=1683008300; x=1683094700; bh=Dk JPDy0k5Pr7HaV614JJNXnKxPXNMguwrbJFF+6cv9k=; b=G26od7hIGk9WV/ABJG AyLyWe9XfIkURIL8dCWueeVEtSzYYr5GlO3G4CF7aYFsylL0IRE+akZIWpkJJE8T dyUsSx/4F4OgxVrFukGbtO2N99GzNg8qeQqaEdKDbbQC1TRecW71mpnVTmln6a9M F1gIA7bxzgo0pyqvMTuFGHGc3rTHzfQAQjthO0oJVNttQgufdfhtLjdLH8lSAOMA UE5Y+G0OqYX0LI1YD8S0DBka31A6ltbupkw01nK20zcvaO4XyaismabTMEy/1E3Z tHJMYqyTFbRnV9Zo8W+CCCwVywxLhoa6y99nrCqZfoOqDzi9N6EUi4xgtWdIEK7L 7Fng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1683008300; x=1683094700; bh=DkJPDy0k5Pr7H aV614JJNXnKxPXNMguwrbJFF+6cv9k=; b=Ug29XxGsNOSDW/hQDapjskPgoEQmb iSgoLSTqP6HbubBbCItdQyyRw7EpA5pW4VUsvEpE3wdaWaZ7eT8hsLhn1THD2+zt BeyxfcRINp0qvpvSUO+qQ4OjYOCbGxVW5rHWN49xYR6noYR1K78FjAIGOhcqa+Ij 5kgVO14NzammRoRoPiash1Fq+0FR4wnckSpsNkZ47ZaU3jBEnXW+WH4j1u0qe2km UMqWOqOnZf3T18Anxm3H0uksLSfdN5sdqbsL9F/wGaEC5gp3xreWy2UiqscmMrgS Oyq+3Boe2pbi1sVxXsqZHyO6Ve7Te7oW/3HQf3a7Ul8F6qD6F16oGSKAQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedvhedguddthecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephfgtgfgguffkfffvofesthhqmh dthhdtjeenucfhrhhomheppfgrthhhrghnucggrghnucgjmhgvrhgvnhcuoehnsedtgiek hedrohhrgheqnecuggftrfgrthhtvghrnhepgeeludffheeuveeuueegueffleevtddtff eghedtudfffffhfffhgfetkeefledunecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepnhestdigkeehrdhorhhg X-ME-Proxy: Feedback-ID: ia1314604:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 2 May 2023 02:18:20 -0400 (EDT) From: Nathan Van Ymeren Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Slashes inserted into Common Lisp code evaluation results Message-Id: <92ED44D9-830A-43C3-BD4D-64A57354561E@0x85.org> Date: Mon, 1 May 2023 23:18:08 -0700 To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3731.500.231) Received-SPF: pass client-ip=66.111.4.27; envelope-from=n@0x85.org; helo=out3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683008357; a=rsa-sha256; cv=none; b=sWODxMR0i9zoVjnnUM2jDLZR+oIUZtw+K+kN55YV+abrxjRqNK9z3OUC0yujbZEjmUdsFf jiqNDtKH3sw0HHfdIb3GUHikAvLjcxzHfSNlKXvmovLAso4cx08KgY+srhdNIK6KAflmXd TcjY1WXvmcLVx897sE2jA70sJ4xnb2eTpaDu7y+3Sz/7KgKMU/S8NqxMutmhlSdHR5HNbs JhZ/6yrvlgtoiVFRVzoQm9QB+DH6gjFHVnVDqcebDPfRTFUUe94pXzZaXV3/mf2Tkrj1kO 7OHwDhsE3wXNzGJriqbV2No2GfykVJx1JWJpk+0g3CbLQfY80FCbLYLM2fMOLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=0x85.org header.s=fm2 header.b=G26od7hI; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=Ug29XxGs; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683008357; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=DkJPDy0k5Pr7HaV614JJNXnKxPXNMguwrbJFF+6cv9k=; b=VLPWP3ghkWaRdHVSYR8PcfcvljqMJFrzGLGHIqS9DUoZMJtvzZODebAeqbiFeNEQZTT4/g ORqoyU19405v4P81TBa3XsTog7O2fut+Fr56/SFvuVWcYWaqvwJcmaKyuFgEl3Zm1aDbbS imf3OmlR8ldM5+1yBxBrDU2q1jiXS/6cB6qX/X6l9/L8XWgJIft1YEJarqIEiDPxQd+FO/ hSfmM6DzLzIzLl2PeLrzHy7XUrDPvfh4kGa5m6RYVEghkXERYQhyFEhirFj8xNDBFLTcQX yMqFfd1OGwUZjD7hjNpN7iDsOhcsng+RExabLlcGUeEu2RTUh+0e2VAm1Draaw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=0x85.org header.s=fm2 header.b=G26od7hI; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=Ug29XxGs; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.89 X-Spam-Score: 2.89 X-Migadu-Queue-Id: AB75D21874 X-TUID: ywcZUPAWgyGu Hi all, For my studies I=E2=80=99ve been using org as a superior form of jupyter = notebook, and I do my assignments and whatnot using code blocks for = computation. My preferred language these days is Common Lisp, using the = SBCL implementation. Whereas languages like python default to using = IEEE double-width floats, in Common Lisp the default type for a value = like =E2=80=9C1.0872=E2=80=9D is a single-width float which sometimes = introduces precision errors when computing many decimal places. In Common Lisp (and probably in elisp too, but I don=E2=80=99t speak = that dialect so idk) you can specify that a number should use = double-precision floats by appending =E2=80=9Cd0=E2=80=9D to the end, so = for example 1.0872d0. Here=E2=80=99s my problem: When I specify double width floats, they appear with slashes embedded in = the RESULTS blocks, like so: #+begin_src lisp (+ 1 0.0002d0) #+end_src #+RESULTS: : 1\.0002d0 Compare that to a single-precision float: #+begin_src lisp (+ 1 0.0002) #+end_src #+RESULTS: : 1.0002 What I=E2=80=99d like to make clear at this point is that *this is not = how things look in the lisp interpreter*. For example here=E2=80=99s a = transcript of me doing this same thing, but not in org: CL-USER> (+ 1 0.0002d0) 1.0002d0 (100.02d0%) CL-USER> (+ 1 0.0002) 1.0002 (100.020004%) CL-USER>=20 You can see there=E2=80=99s no slash being emitted, so something in the = plumbing between SBCL and org is inserting the slash. I=E2=80=99m = running org version 9.7_pre built from straight.el on an M-series = MacBook Pro, though the same behaviour was present in the 9.x release I = upgraded from. Is this a bug? If not, how do I suppress this behaviour? Nate=