IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 22 years ago

Closed 22 years ago

Last modified 22 years ago

#28 closed defect (duplicate)

List of binary and unary operators PSLib is required to implement

Reported by: Eric.VanAlst@… Owned by: Paul Price
Priority: high Milestone:
Component: PSLib SDRS Version: unspecified
Severity: normal Keywords:
Cc:

Description

In section 4.9 of the SDRS describes the functions psBinaryOp and psUnaryOp.
In this description there is no mention of the required operations these two
functions are to handle.

Change History (6)

comment:1 by eugene, 22 years ago

Resolution: fixed
Status: newclosed

At the bottom of the sample code psMath.h, there is a comment which lists a
bunch of operators. Let's start with the following subset (I'll add these to
the SDRS):

BinaryOp:

+.-.*,/
(pow(a,b))
min, max (returns the minimum (maximum) of the two values)

UnaryOp:

abs(), exp(), ln(), ten(), log() [ten: 10^x, log is log_10]
sin,cos,tan, asin, acos, atan (angles are radians)
dsin,dcos,dtan,dasin,dacos,datan (angles are degrees)

the code should be flexible enough that adding to these lists should be trivial...

comment:2 by Eric.VanAlst@…, 22 years ago

Resolution: fixed
Status: closedreopened

The resolution specifies several functions, but this list is not present in
SDR-06 section 4.7. The list should be in SDR to record the necessary operations.

comment:3 by eugene, 22 years ago

Owner: changed from eugene to Paul Price
Status: reopenednew

comment:4 by Paul Price, 22 years ago

Resolution: duplicate
Status: newclosed

* This bug has been marked as a duplicate of 20 *

comment:5 by Paul Price, 22 years ago

Keywords: VERIFIED added

Should be fixed in SDRS-07 and ADD-06 (7 September 2004).

comment:6 by Paul Price, 22 years ago

Keywords: VERIFIED removed
Note: See TracTickets for help on using tickets.