opnsense-src/lib/msun
Steve Kargl c58c77246f [libm] Avoid left shift of signed integer entities
Follow-up commit d180086e6e by fixing the left shift of signed integer
entities through the use of a helper function. Specific per file changes
are:

* lib/msun/src/e_fmodf.c:
* lib/msun/src/s_remquof.c:
  . Eliminate now unused variable 'i'.
  . Sort declaration statement.
  . Use subnormal_ilogbf() to avoid left shift of signed integer.

* lib/msun/src/math_private.h b/lib/msun/src/math_private.h:
  . Implement subnormal_ilogbf() to extract an exponent of a subnormal
    float.  This avoids left shifts of signed integers.
  . Update nearby comment.

* lib/msun/src/s_ilogbf.c
  . Fix declaration of the function statement in accordance with style(9).
  . Use subnormal_ilogbf() to avoid left shift of signed integer.

PR:		288850
MFC after:	1 week
2025-08-14 20:38:41 +02:00
..
aarch64 arm: fix build after _types.h changes 2025-06-12 01:38:00 +01:00
amd64 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
arm arm: fix build after _types.h changes 2025-06-12 01:38:00 +01:00
bsdsrc Remove unused variables in msun/bsdsrc/b_tgamma.c 2025-08-09 19:25:25 +02:00
i387 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
ld80 msun/ld80/e_powl.c: make powl() thread-safe by making static variables thread-local 2024-08-07 11:46:48 +03:00
ld128 libmsun: remove duplicates after cdefs.h added inline to __always_inline 2024-06-25 10:40:14 -07:00
man manuals: Fix some .Bl -tag lists 2024-11-18 13:30:40 -04:00
powerpc Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
riscv fix build after _types.h changes 2025-06-12 14:22:17 +01:00
src [libm] Avoid left shift of signed integer entities 2025-08-14 20:38:41 +02:00
tests Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
x86 Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile lib/msun: Fix tgammal(3) on IEEE 128-bit platforms 2024-03-18 09:48:43 +00:00
Makefile.depend Update Makefile.depend files 2024-10-14 10:26:17 -07:00
Symbol.map msun: remove fabs from Symbol.map, and adjust comment 2024-01-27 22:24:38 +01:00