| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| X-Received: | by 2002:a37:ac09:0:b0:6ce:b239:7cc4 with SMTP id e9-20020a37ac09000000b006ceb2397cc4mr11385488qkm.176.1669255528875; |
| Wed, 23 Nov 2022 18:05:28 -0800 (PST) | |
| X-Received: | by 2002:a81:316:0:b0:3a2:1d14:4e28 with SMTP id |
| 22-20020a810316000000b003a21d144e28mr11303985ywd.241.1669255528608; Wed, 23 | |
| Nov 2022 18:05:28 -0800 (PST) | |
| Newsgroups: | comp.os.msdos.djgpp |
| Date: | Wed, 23 Nov 2022 18:05:28 -0800 (PST) |
| In-Reply-To: | <tllvhb$akf$1@gioia.aioe.org> |
| Injection-Info: | google-groups.googlegroups.com; posting-host=46.123.240.126; posting-account=CPdYWwoAAABpWBQIr4qTKwtnquUvEEfS |
| NNTP-Posting-Host: | 46.123.240.126 |
| References: | <80d78acb-55c9-4bd0-9198-2c3705e9489en AT googlegroups DOT com> <tllvhb$akf$1 AT gioia DOT aioe DOT org> |
| User-Agent: | G2/1.0 |
| MIME-Version: | 1.0 |
| Message-ID: | <efe04a17-cf41-48d5-83a5-acc0d4df37bfn@googlegroups.com> |
| Subject: | Re: is std::trunc() ever going to work? |
| From: | "janezz55 (janezz55 AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com> |
| Injection-Date: | Thu, 24 Nov 2022 02:05:28 +0000 |
| X-Received-Bytes: | 1437 |
| Bytes: | 1668 |
| Lines: | 4 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
> The issue is that djgpp does not implement all C99 math functions, so > libstdc++ just disables all of them. You can of course use ::trunc() > from libc or __builtin_trunc() (with f/l suffix where appropriate). I know the workaround already. Hopefully someone will write a patch for this quirk.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |