Patch Name: PHSS_29678 Patch Description: s700_800 11.23 Math Library Cumulative Patch Creation Date: 03/12/17 Post Date: 03/12/19 Hardware Platforms - OS Releases: s700: 11.23 s800: 11.23 Products: N/A Filesets: OS-Core.CORE2-64SLIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP OS-Core.CORE2-SHLIBS,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP ProgSupport.C2-INC,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP ProgSupport.LANG-64ALIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP ProgSupport.LANG-MIN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHSS_29678 Symptoms: PHSS_29678: SR: 8606337239 CR: JAGae98265 The FLT_ROUNDS macro in header float.h doesn't reflect current dynamic rounding mode. SR: 8606339487 CR: JAGaf00416 Certain math functions don't meet accuracy goals Defect Description: PHSS_29678: SR: 8606337239 CR: JAGae98265 The FLT_ROUNDS macro defined in header float.h should reflect the current dynamic floating-point rounding mode. Instead, it is statically defined to be 1, which corresponds to the default (to-nearest) rounding mode. SR: 8606339487 CR: JAGaf00416 The following math library functions do not meet the accuracy goals for their type: double precision default/strict accuracy mode: acosd, annuity, asind, cosd, sind, sin extended precision relaxed accuracy mode: acoshw quad precision: annuityl, asinhl, compoundl, expm1l, powl, powllnl, pownl Enhancement: Yes PHSS_29678: This patch delivers new functions, cot and sinhcosh, in four precisions, as well as float (single precision) versions of six Bessel functions. In addition, it provides performance and accuracy upgrades for certain math functions. New functions cot[fwlq] and cotd[fwlq] in the HPUX namespace in the math.h and tgmath.h headers compute the cotangent of radian and degree source arguments, respectively. New functions j0f, j1f, jnf, y0f, y1f, and ynf in the HPUX namespace in the math.h header compute Bessel functions of integer order to single (float) precision. The accuracy of the following double precision functions has been improved: cos, tan, and tand. The following functions have performance upgrades: erf, erff, erfc, erfcf, fmodl, hypotl, remainderl, and remquol. New functions sinhcosh[fwlq] in the HPUX namespace in the math.h header compute both the hyperbolic sine and hyperbolic cosine of a single real argument. SR: 8606337239 8606339487 Patch Files: OS-Core.CORE2-64SLIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux64/libm.so.1 OS-Core.CORE2-SHLIBS,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux32/libm.so.1 ProgSupport.C2-INC,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/include/float.h /usr/include/math.h /usr/include/tgmath.h ProgSupport.LANG-64ALIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux64/libm.a ProgSupport.LANG-MIN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux32/libm.a what(1) Output: OS-Core.CORE2-64SLIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux64/libm.so.1: HP-UX LP64 Math Library (libm) for Itanium(R)-based systems B.11.22, B.11.23 Mon Dec 15 22:32:16 2003 PST OS-Core.CORE2-SHLIBS,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux32/libm.so.1: HP-UX ILP32 Math Library (libm) for Itanium(R)-based systems B.11.22, B.11.23 Mon Dec 15 22:13:5 3 2003 PST ProgSupport.C2-INC,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/include/float.h: $Revision: 76.1 $ */ /usr/include/math.h: None /usr/include/tgmath.h: None ProgSupport.LANG-64ALIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux64/libm.a: HP-UX LP64 Math Library (libm) for Itanium(R)-based systems B.11.22, B.11.23 Mon Dec 15 22:32:13 2003 PST ProgSupport.LANG-MIN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/lib/hpux32/libm.a: HP-UX ILP32 Math Library (libm) for Itanium(R)-based systems B.11.22, B.11.23 Mon Dec 15 22:13:4 9 2003 PST cksum(1) Output: OS-Core.CORE2-64SLIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 2327875496 2114632 /usr/lib/hpux64/libm.so.1 OS-Core.CORE2-SHLIBS,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 2283432667 2045096 /usr/lib/hpux32/libm.so.1 ProgSupport.C2-INC,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 884288470 3922 /usr/include/float.h 3092556854 56334 /usr/include/math.h 2256687310 5537 /usr/include/tgmath.h ProgSupport.LANG-64ALIB,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 505950029 3052380 /usr/lib/hpux64/libm.a ProgSupport.LANG-MIN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 645379957 2676130 /usr/lib/hpux32/libm.a Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 2840 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHSS_29678 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_29678.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_29678. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHSS_29678.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_29678.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_29678.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None