9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Xiao-Yong Jin <meta.jxy@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] ape modf infinite recursion
Date: Fri, 22 Jan 2021 11:06:57 -0600	[thread overview]
Message-ID: <0EB7FD40-9EEE-45D4-8926-9BCC1940FE9C@gmail.com> (raw)
In-Reply-To: <YApSm3KPXx3M1qqF@alice>



> On Jan 21, 2021, at 10:20 PM, Anthony Martin <ality@pbrane.org> wrote:
> 
> Xiao-Yong Jin <meta.jxy@gmail.com> once said:
>> modf(ip=0x7fffffffe9e8,d=0xffffffffffffffff)+0x43 /sys/src/ape/lib/ap/plan9/frexp.c:78
>> modf(ip=0x7fffffffe9e8,d=0xffffffffffffffff)+0x43 /sys/src/ape/lib/ap/plan9/frexp.c:78
>> modf(ip=0x7fffffffe9e8,d=0xffffffffffffffff)+0x43 /sys/src/ape/lib/ap/plan9/frexp.c:78
> 
> There was a fix to this on sources that was
> apparently never picked up by 9front.
> 
> I've included it below but you can also find
> it in David du Colombier's mirror:
> 
> https://github.com/0intro/plan9/commit/119c1d0c712512776162de1eca755006f07fe91c

The one at
	/sys/src/libc/port/frexp.c
seems up-to-date with that, but not the ape one.

I borrowed the one from musl
	https://git.musl-libc.org/cgit/musl/tree/src/math/modf.c
to ape, which seems to behave better.

  reply	other threads:[~2021-01-22 17:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-22  3:00 Xiao-Yong Jin
2021-01-22  4:20 ` [9front] " Anthony Martin
2021-01-22 17:06   ` Xiao-Yong Jin [this message]
2021-01-22 17:21     ` [9front] " Xiao-Yong Jin
2021-01-23 14:54     ` cinap_lenrek
2021-01-22  4:27 ` Alex Musolino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0EB7FD40-9EEE-45D4-8926-9BCC1940FE9C@gmail.com \
    --to=meta.jxy@gmail.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).