06-29-2002
When you want to exceed the maximum value of the largest data type that a language has, you have a clear path to follow: invent your own data type. You will need to write routines to convert long double to and from your private data type. You will need to write your own routines to add to elements of your private data type. And you will need to write your own routines to display the values of your private data type.
The bad news: none of this is easy and it probably cannot be written portably. The good news: your private data type can take many forms, so there are indeed a lot of solutions.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies
2. Shell Programming and Scripting
Hi
Can u please guide me to understand following script :
$JAVA_HOME/bin/java -cp $CLASSPATH -Djava.naming.factory.initial=weblogic.jndi.T3InitialContextFactory -Djava.naming.provider
.url=$INITIAL_CONTEXT_PROVIDER -Djava.naming.security.principal=system... (2 Replies)
Discussion started by: pankajkrmishra
2 Replies
3. Shell Programming and Scripting
Hi, new to the forums and just need a little help, I have a sript to write and as far as I can see it should work fine but it refuses to run properly, it has issues with the end of a line but I see no issue, would anyone assist please, I just someone to seconed check I have not overlooked something... (5 Replies)
Discussion started by: Dim-Wit
5 Replies
4. Programming
Hello. I'm a complete newbie to C programming. I have a C program that wasn't written by me where I need to write some wrappers around it to automate and make it easier for a client to use. The problem is that the program accepts standard input to control the program... I'm hoping to find a simple... (6 Replies)
Discussion started by: Xeed
6 Replies
5. Shell Programming and Scripting
hey all, im new and my first question is:
say i have a word "blahblah"
how do i get and replace the last letter of the word with say k, so replace the h with a k.
However you cant just replace the h it has to change the LAST LETTER of the word.
Cheers In advance.
:b: (0 Replies)
Discussion started by: aleks001
0 Replies
6. Web Development
I am just getting into web development and I want to understand it better and more theoretically. :D
So by now I can create some basic websites with html, css, php, etc, but what I do not understand is how is this then projected into the world wide web or what we call the internet??? Of course... (2 Replies)
Discussion started by: vas28r13
2 Replies
7. Shell Programming and Scripting
Hello all!
This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician.
Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix:
... (16 Replies)
Discussion started by: torchij
16 Replies
8. Red Hat
Cheers!
In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not?
To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies
9. UNIX for Dummies Questions & Answers
The attachment says it all really...
It is a DEMO at a glance digital readout using the "date" command to make it useful...
For a Mocbook Pro 13", OSX 10.7.5, but may well work on Linux variants too.
Enjoy...
#!/bin/bash
#
# Clock.sh
# A bash DEMO to create a 6 x 7 character set... (4 Replies)
Discussion started by: wisecracker
4 Replies
10. UNIX for Beginners Questions & Answers
Hi,
In Php I can use exec() to access the shell from my .php web page. Tested and it works.
So, I need to create a cron job that visits my URL at the time contained in my $time php variable. That's it, just one visit to the specific URL.
Once the visit takes place, delete the cron job using... (4 Replies)
Discussion started by: jwest100
4 Replies
IWPRIV(8) Linux Programmer's Manual IWPRIV(8)
NAME
iwpriv - configure optionals (private) parameters of a wireless network interface
SYNOPSIS
iwpriv [interface]
iwpriv interface private-command [private-parameters]
iwpriv interface private-command [I] [private-parameters]
iwpriv interface --all
DESCRIPTION
Iwpriv is the companion tool to iwconfig(8). Iwpriv deals with parameters and setting specific to each driver (as opposed to iwconfig
which deals with generic ones).
Without any argument, iwpriv list the available private commands available on each interface, and the parameters that they require. Using
this information, the user may apply those interface specific commands on the specified interface.
In theory, the documentation of each device driver should indicate how to use those interface specific commands and their effect.
PARAMETERS
private-command [private-parameters]
Execute the specified private-command on the interface.
The command may optionally take or require arguments, and may display information. Therefore, the command line parameters may or may
not be needed and should match the command expectations. The list of commands that iwpriv displays (when called without argument)
should give you some hints about those parameters.
However you should refer to the device driver documentation for information on how to properly use the command and the effect.
private-command [I] [private-parameters]
Idem, except that I (an integer) is passed to the command as a Token Index. Only some command will use the Token Index (most will
ignore it), and the driver documentation should tell you when it's needed.
-a/--all
Execute and display all the private commands that don't take any arguments (i.e. read only).
DISPLAY
For each device which support private commands, iwpriv will display the list of private commands available.
This include the name of the private command, the number or arguments that may be set and their type, and the number or arguments that may
be display and their type.
For example, you may have the following display :
eth0 Available private ioctl :
setqualthr (89F0) : set 1 byte & get 0
gethisto (89F7) : set 0 & get 16 int
This indicate that you may set the quality threshold and display an histogram of up to 16 values with the following commands :
iwpriv eth0 setqualthr 20
iwpriv eth0 gethisto
AUTHOR
Jean Tourrilhes - jt@hpl.hp.com
FILES
/proc/net/wireless
SEE ALSO
iwconfig(8), iwlist(8), iwevent(8), iwspy(8), wireless(7).
net-tools 31 October 1996 IWPRIV(8)