Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

critical impact:

drem, dremf, dreml - not supported; temporarily available (CrUn41)

LIB Impacts ME Impacts

Problem description

The drem, dremf, and dreml routines exist on Tru64 UNIX, but not on HP-UX. These routines will be temporarily available in the Tru64 UNIX Migration Environment for HP-UX.

The drem, dremf, and dreml routines compute the floating-point remainder.

The Migration Environment contains Tru64 UNIX APIs, development tools, and commands and utilities to assist customers in migrating their applications from Tru64 UNIX to HP-UX.


C/C++ Functionsdrem C/C++ Functionsdremf C/C++ Functionsdreml        

See also

Solution description

The drem, dremf, and dreml routine functionality is similar to functionality of the remainder, remainderf, and remainderl routines on both HP-UX and Tru64 UNIX.

Monitor HP-UX release notes in future releases for information about drem, dremf, and dreml availability.

The following example shows how the drem, dremf, and dreml routines can be replaced with the remainder, remainderf, and remainderl routines:

drem (double x, double y) {

        return remainder (x, y);


float dremf (float x, float y) { return remainderf (x, y); }

long double dreml (long double x, long double y) { return remainderl (x, y); }

Please note that the Migration Environment is temporary.

See also

Problem summary

classifications source types OS release severity type
LIB, ME C, C++ any HP-UX 11i version critical unavailable
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.