unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* log2
       [not found] <878ri0831b.fsf.ref@yahoo.com>
@ 2023-01-18 12:01 ` Po Lu
  2023-01-18 12:56   ` log2 Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Po Lu @ 2023-01-18 12:01 UTC (permalink / raw)
  To: emacs-devel

commit 203ffc68468abaccfed7e8ee630d9aa143ce5dbf
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Tue May 10 14:44:35 2022 -0700

    Port libm configure-time test to Solaris 11.4
    
    * configure.ac (LIB_MATH): Check all the math.h functions
    that Emacs uses, not just sqrt (Bug#55294).

introduced a test for log2.  But some versions of Android lack that
function, being one major operating system to not support all of the C99
math functions.

Does Emacs actually use log2 anywhere?
Would people be nice enough to make future uses conditional under
HAVE_LOG2?

Thanks.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: log2
  2023-01-18 12:01 ` log2 Po Lu
@ 2023-01-18 12:56   ` Eli Zaretskii
  2023-01-18 13:11     ` log2 Po Lu
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2023-01-18 12:56 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

> From: Po Lu <luangruo@yahoo.com>
> Date: Wed, 18 Jan 2023 20:01:36 +0800
> 
> commit 203ffc68468abaccfed7e8ee630d9aa143ce5dbf
> Author: Paul Eggert <eggert@cs.ucla.edu>
> Date:   Tue May 10 14:44:35 2022 -0700
> 
>     Port libm configure-time test to Solaris 11.4
>     
>     * configure.ac (LIB_MATH): Check all the math.h functions
>     that Emacs uses, not just sqrt (Bug#55294).
> 
> introduced a test for log2.  But some versions of Android lack that
> function, being one major operating system to not support all of the C99
> math functions.
> 
> Does Emacs actually use log2 anywhere?

Emacs uses log2 in Flog.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: log2
  2023-01-18 12:56   ` log2 Eli Zaretskii
@ 2023-01-18 13:11     ` Po Lu
  0 siblings, 0 replies; 3+ messages in thread
From: Po Lu @ 2023-01-18 13:11 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Po Lu <luangruo@yahoo.com>
>> Date: Wed, 18 Jan 2023 20:01:36 +0800
>> 
>> commit 203ffc68468abaccfed7e8ee630d9aa143ce5dbf
>> Author: Paul Eggert <eggert@cs.ucla.edu>
>> Date:   Tue May 10 14:44:35 2022 -0700
>> 
>>     Port libm configure-time test to Solaris 11.4
>>     
>>     * configure.ac (LIB_MATH): Check all the math.h functions
>>     that Emacs uses, not just sqrt (Bug#55294).
>> 
>> introduced a test for log2.  But some versions of Android lack that
>> function, being one major operating system to not support all of the C99
>> math functions.
>> 
>> Does Emacs actually use log2 anywhere?
>
> Emacs uses log2 in Flog.

I meant not conditioned under HAVE_LOG2, sorry.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-18 13:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <878ri0831b.fsf.ref@yahoo.com>
2023-01-18 12:01 ` log2 Po Lu
2023-01-18 12:56   ` log2 Eli Zaretskii
2023-01-18 13:11     ` log2 Po Lu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).