From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 24395 invoked from network); 1 Jan 2021 21:38:28 -0000 Received: from ewsd.inri.net (107.191.116.128) by inbox.vuxu.org with ESMTPUTF8; 1 Jan 2021 21:38:28 -0000 Received: from mail-ua1-f53.google.com ([209.85.222.53]) by ewsd; Fri Jan 1 16:34:47 -0500 2021 Received: by mail-ua1-f53.google.com with SMTP id s23so7154044uaq.10 for <9front@9front.org>; Fri, 01 Jan 2021 13:34:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=uKugx89s0VsepAHmJX2uZYtbGY2Vpu3fJY2dxVn6acI=; b=qiSp7QYcf390R6AcaasOEQbLmmr1OD5ggGjXlD8DxthInhq7s0cp6uBS8DgxLd2VQI AaAMdIH3fTzOzdcqAPZC4kjTM0JmKICDx0Ji+pVQenfAODpQ6OdxO+5zrWWqxn5XPUmA nX7htcL+i7IFioXfZ4wyTENmnuIkzCW+L+rBgXMzqwBwYyH1mdh9o2mU5l2LoEzje//G O4L31zMIA9/dhC59ZBj2AiTmKDSxjgZCf8LIbyESegqMe7pVpyJ6HM6fuaMZa9xfIJKO QFbYyFbcxwrf9jrW1DKqp35E6uDZnUnNflAjq79s8TcprkukHfRWlfddDS1M/nT3LYQw ++vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=uKugx89s0VsepAHmJX2uZYtbGY2Vpu3fJY2dxVn6acI=; b=kLIWCZ2sKBS+KF/jKQTKH+NGeTGrzeRj3PwFy0gq93gTgwPlFt0WNwuqzMxYrI9sE8 KRgzS2tRANNxa0vyhAc7stgR3/tC21vijdXuEhCF72lMaqT3XxOaaiUIuU7E4FT0HPov sYt2p4Guc9gncVAB/dUa4ljKvTP7hZHEORCGEKqcQ/h4JbenWvn6vRT+qXDrOWBZPzW0 52GwhiVhqHGoWBIdIPeITpBKcoobBv54GwA8nletIYxZ035I2t3E0tAQhkZeIsghju0q vCOFoq/QWVgyoOCw6xM1TPA9CDDoiFYoVoQT+7qZhB6a54IolLhjGJBcdCekIY79MTML d2Hg== X-Gm-Message-State: AOAM530sRW9Cu+Pa4cLVwgpWDqBarYKkx+3tzQYbYj5vVz9QWzOZkpXM xKcCx8WI5C6Ul91A4S5GSdEt56uoHPN+JCUClOQg/U0GMxaiUg== X-Google-Smtp-Source: ABdhPJxIikCNue3V+yIhMbNfPwVO6pTcJM2TX7WBBtwKMsXlkvS7890UIUrh26Uff+0rTXjKDsx79vGhYR+udep/3hU= X-Received: by 2002:a9f:37ca:: with SMTP id q68mr40516399uaq.114.1609536878308; Fri, 01 Jan 2021 13:34:38 -0800 (PST) MIME-Version: 1.0 From: Jonas Amoson Date: Fri, 1 Jan 2021 23:34:27 +0200 Message-ID: To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: private lossless content-driven-aware information callback-oriented extension-based backend Subject: [9front] Missing insnan() in /386/include/ape/math.h? Reply-To: 9front@9front.org Precedence: bulk Hi! I looks (to me) like ape/math.h for 386 is missing the following two lines: #define isnan(x) isNaN(x) #define isinf(x) isInf(x, 0) They are present in /{68020|arm|arm64|power|sparc|sparc64|amd64}/include/ape/math.h. It even looks like the lines are present for 386 in the stock Bell Lab's distro. Any known reason for this irregularity? isnan() is used by Netsurf's SVG-library. /Jonas A --- orig_math.h Sat Oct 5 02:33:06 2019 +++ math.h Fri Jan 1 01:30:47 2021 @@ -73,4 +73,7 @@ } #endif +#define isnan(x) isNaN(x) +#define isinf(x) isInf(x, 0) + #endif /* __MATH */