Sponsored Content
Top Forums Programming OpenVMS IPC and TCP/IP Programming Post 57262 by izy100 on Thursday 21st of October 2004 01:10:10 PM
Old 10-21-2004
Pardon my ignorance, isn't VAX dying? My company is porting everthing from VAX to unix.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Tcp/ip programming

I am looking for some help with writing a small script that will scan a range if subnets and count the number of reply. If anyone has any shell programming experience with either perl or tcp/ip could you please give me a hand.. (1 Reply)
Discussion started by: veitcha
1 Replies

2. Shell Programming and Scripting

Converting an OpenVms .com to a UNIX ksh script

Does anyone know what a unix equivalent to the following OpenVms string would be? variable1 = F$FAO("!123AS",file_create_time) I can't seem to find the proper syntax of anything I try. Thx! J (1 Reply)
Discussion started by: prosserj
1 Replies

3. IP Networking

TCP Programming problems with 'recv'

Hey, I am learning to program a TCP server and managed to get it up and running (I am using Windows 98SE). I can use the send function to send information to the client and I can use the recv function to ask the user to pass information through, but when I do so it only allows the client to... (1 Reply)
Discussion started by: KrazyGuyPaul
1 Replies

4. Programming

Confusion about TCP/IP socket programming

Hello there chaps. First of all, i'm no TCP/IP-wiz, so forgive me if this is a stupid question. I've been messing around with filetransfer using sockets, and there is one thing that confuses me. This is how it's set up: A server app listens on a port for a client connection. When it... (3 Replies)
Discussion started by: crippe
3 Replies

5. Programming

Porting File from OPenVMS to AIX Unix

We are in requirement to port relative file organization files from OpenVMS V7.1-1H2 to AIX Unix. These file contains multiple binary records each of 512 bytes but it could be possible that a few bytes are padded up to fill the record structure. One of our thought process is to write a program... (1 Reply)
Discussion started by: S.P.Prasad
1 Replies

6. UNIX for Dummies Questions & Answers

socket programming : client server IPC

I'm new to socket programming. Have a basic doubt. I have a structure(global) at the server side. I have two different client connecting to the server. Will the changes made by one client on the structure be visible to the other client when it accesses the same client? I'm creating a STREAM... (3 Replies)
Discussion started by: abc.working
3 Replies

7. Solaris

errors on Netra-440: "IPC Warning: ipc: tcp_protocol: bad magic number"

I was asked to look into a problem with a Sun Netra 440 in another department. On the server in question, the relevant 'uname -a' information is, "SunOS host1 5.9 Generic_118558-16 sun4u sparc SUNW,Netra-440". That information aside, while the other admin is logged into the ALOM, these errors are... (0 Replies)
Discussion started by: Borealis
0 Replies

8. HP-UX

Any OpenVMS 8.4 Users available?

Any takers on a seeminly simple question? (8 Replies)
Discussion started by: mrmurdock
8 Replies

9. Post Here to Contact Site Administrators and Moderators

OpenVMS forum

Hello admins and moderators, I was just wondering why you never opened an openVMS subforum under Operating Systems section. After all, openVMS is still active. thanks. (0 Replies)
Discussion started by: milhan
0 Replies
IEEE(3M)																  IEEE(3M)

NAME
copysign, drem, finite, logb, scalb - copysign, remainder, exponent manipulations SYNOPSIS
#include <math.h> double copysign(x,y) double x,y; double drem(x,y) double x,y; int finite(x) double x; double logb(x) double x; double scalb(x,n) double x; int n; DESCRIPTION
These functions are required for, or recommended by the IEEE standard 754 for floating-point arithmetic. Copysign(x,y) returns x with its sign changed to y's. Drem(x,y) returns the remainder r := x - n*y where n is the integer nearest the exact value of x/y; moreover if |n-x/y|=1/2 then n is even. Consequently the remainder is computed exactly and |r| <= |y|/2. But drem(x,0) is exceptional; see below under DIAGNOSTICS. Finite(x) = 1 just when -infinity < x < +infinity, = 0 otherwise (when |x| = infinity or x is NaN or x is the VAX's reserved operand.) Logb(x) returns x's exponent n, a signed integer converted to double-precision floating-point and so chosen that 1 <= |x|/2**n < 2 unless x = 0 or (only on machines that conform to IEEE 754) |x| = infinity or x lies between 0 and the Underflow Threshold; see below under "BUGS". Scalb(x,n) = x*(2**n) computed, for integer n, without first computing 2**n. DIAGNOSTICS
IEEE 754 defines drem(x,0) and drem(infinity,y) to be invalid operations that produce a NaN. On a VAX, drem(x,0) returns the reserved op- erand. No infinity exists on a VAX. IEEE 754 defines logb(+-infinity) = +infinity and logb(0) = -infinity, requires the latter to signal Division-by-Zero. But on a VAX, logb(0) = 1.0 - 2.0**31 = -2,147,483,647.0. And if the correct value of scalb(x,n) would overflow on a VAX, it returns the reserved oper- and and sets errno to ERANGE. SEE ALSO
floor(3M), math(3M), infnan(3M) AUTHOR
Kwok-Choi Ng BUGS
Should drem(x,0) and logb(0) on a VAX signal invalidity by setting errno = EDOM? Should logb(0) return -1.7e38? IEEE 754 currently specifies that logb(denormalized no.) = logb(tiniest normalized no. > 0) but the consensus has changed to the specifica- tion in the new proposed IEEE standard p854, namely that logb(x) satisfy 1 <= scalb(|x|,-logb(x)) < Radix ... = 2 for IEEE 754 for every x except 0, infinity and NaN. Almost every program that assumes 754's specification will work correctly if logb follows 854's specification instead. IEEE 754 requires copysign(x,NaN) = +-x but says nothing else about the sign of a NaN. A NaN (Not a Number) is similar in spirit to the VAX's reserved operand, but very different in important details. Since the sign bit of a reserved operand makes it look negative, copysign(x,reserved operand) = -x; should this return the reserved operand instead? 4.3 Berkeley Distribution May 12, 1986 IEEE(3M)
All times are GMT -4. The time now is 02:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy