| From | Subject | Date |
|---|---|---|
| VICTOR TARABOLA CORTIANO | Re: OpenBSD users.
Brazil!
| Jul 18, 11:46 am 2010 |
| Hermes Ojeda Ruiz | Re: OpenBSD users.
Mixico
On Sun, Jul 18, 2010 at 1:46 PM, VICTOR TARABOLA CORTIANO <
--
Hermes Ojeda Ruiz
| Jul 18, 12:49 pm 2010 |
| Dmitrij D. Czarkoff | Re: OpenBSD users.
Moscow/Russia
--
Dmitrij D. Czarkoff
| Jul 18, 1:13 pm 2010 |
| Alvaro Pereira | Re: OpenBSD users.
Calgary
Alvaro
| Jul 18, 1:43 pm 2010 |
| Floor Terra | Re: OT: Re: code for fun
On Sun, Jul 18, 2010 at 2:32 PM, Aaron Lewis <aaron.lewis1989@gmail.com>
Yes. 12.340 has five significant digits. If you want to store it with
The maximum number you can store in a IEEE double is +infinity of course.
A 64 bit double has 52-bit mantissa, together with 1 sign bit it gives
you almost 16 decimal significant digits.
But like other things in life: It's not the size that maters, it's how
Be careful converting your number to decimal if you want to keep
maximum ...
| Jul 18, 6:46 am 2010 |
| Aaron Lewis | OT: Re: code for fun
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yep , right , but how you *get* it by a beautiful code , that could be
really interesting.
Kinda of significance digit. For example:
A number `12.340' , and if say it has 2 digits' precision , then we
consider the `0' is not accurate , while `.34' is accurate.
So for a number stored in a double type , how accurate can it be ? (or
maybe how many bits in the fixed-point part is accurate)
Doesn't matter if it's unsigned or signed , some ...
| Jul 18, 4:07 am 2010 |
| Firas Kraiem | Re: OT: Re: code for fun
Since you know the bit pattern that would yield the value, just make an
union with an uint64_t and a double, set the uint to the desired
bit-pattern, and printf the double:
#include <stdint.h>
#include <stdio.h>
int main(void)
{
union intdouble {
uint64_t foo;
double bar;
} maxdouble;
maxdouble.foo = 0x7FEFFFFFFFFFFFFF;
printf("%lf\n", maxdouble.bar);
return 0;
It depends on the exponent. If the exponent is ...
| Jul 18, 5:15 am 2010 |
| Aaron Lewis | code for fun
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
how can i determine the maximum size of `double' without printing out
DOUBLE_MAX ?
And what about the precision of a `double' , anyone give a try ?
Google ain't giving much information , i just can't figure out , it's
very funny coding , isn't it ?
- --
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode
Comment: Using GnuPG with Mozilla - ...
| Jul 18, 3:27 am 2010 |
| Aaron Lewis | Re: OT: Re: code for fun
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
See:
Come on , just for fun , someone asks me if i could print out the
maximum number that can be stored in a double type , and the *precision*
of a double type.
For the first , maybe with some bit operations , no good idea from me.
And the second , well i tried to divide 2 by 3 , see when i reaches 7 (
should be 0.66....7 ) ,
may not a clever way.
- --
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 ...
| Jul 18, 5:32 am 2010 |
| Firas Kraiem | Re: code for fun
Kinda off-topic for here but whatever...
Assuming 64-bit double, it has a mantissa of 52 bits and an exponent of
11 bits. If the mantissa is all-ones, that will give a significant of
2-2^(-52). The exponent cannot be all-ones (an all-ones exponent means
infinity or NaN), so the largest exponent is 2^11-2 = 2046, minus bias
(1023), it gives a maximum effective exponent of 1023, so that would
give a value of (2-2^(-52))*2^(1023) = 2^1024 - 2^971, roughly 10^308.
What do you mean by ...
| Jul 18, 3:56 am 2010 |
| Floor Terra | Re: OT: Re: code for fun
On Sun, Jul 18, 2010 at 1:07 PM, Aaron Lewis <aaron.lewis1989@gmail.com>
What problem (i.e. homework assignment) are you trying to solve?
--
Floor Terra <floort@gmail.com>
www: http://brobding.mine.nu/
| Jul 18, 5:04 am 2010 |
| Dunc | Re: ipv6 pf ruleset
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Are the encapsulated packets being allowd through wanif OK? Remember
that the same packet will be IPv4 at some points, and IPv6 at others
depending which side of encapsulation they're at. You'll probably need
IPv4 rules on wanif and IPv6 rules on ip6if.
Have you used pflog to see if anything is being blocked?
Dunc
- --
Duncan Lockwood
Principal Network Engineer
The Bunker Secure Hosting Limited
Ash Radar Station
Marshborough ...
| Jul 18, 2:56 am 2010 |
| Matt S | ipv6 pf ruleset
Hello,
Could someone tell me why, given the following ruleset, I cannot get to my
machine from the outside on ipv6? Obviously, I just masked out the ipv6
address for security. Any insight would be much appreciated. Normally, I
am decent with pf when it comes to ipv4. But, I am utterly lost. Perhaps I
don't understand what the gif0 interface is truely doing. I know that I
have it configured to encapsulate IPv6 traffic in IPv4 but I don't know how
to troubleshoot it ...
| Jul 17, 9:43 pm 2010 |
| difusion-esa | HIPNOSIS ERICKSONIANA Y PSICOLOGIA POSITIVA
------------------------------------------------------------------------
SEMINARIO TALLER 2010HIPNOSIS ERICKSONIANA Y PSICOLOGIA POSITIVAConstruyendo
el estado positivo sustentable en psicoterapiaLos aportes de la
investigacisn en psicoterapia, resiliencia, terapia orientada a las
soluciones, narrativismo, posmodernismo, ontologma del lenguaje y
neurociencias al servicio del cambio evolutivo
Coordinador: Lic. Claudio DES CHAMPS (*)Inicio: 09 de agosto / Duracisn:
6 clases de 2hs (09, 23 y 30 de ...
| Jul 17, 7:56 pm 2010 |
| Voucher FNAC | Sabe o significa HD?
Se nco conseguir visualizar correctamente este email, clique aqui
NOTA INFORMATIVA: O presente email destina-se znica e exclusivamente a informar potenciais utilizadores e nco pode ser considerado SPAM. De acordo com a legislagco internacional que regulamenta o correio electrsnico, "o email nco pode sera ser considerado SPAM quando incluir uma forma do receptor ser removido da lista do emissor".
Para deixar de receber estas ofertas no seu e-mail clicar aqui
| Jul 17, 7:06 pm 2010 |
| Jona Joachim | Re: OpenBSD users.
Are you aware that by sending such useless mails you are transforming
energy and contributing to global warming?
Best regards,
Jona
--
Worse is better
Richard P. Gabriel
| Jul 18, 3:41 pm 2010 |
| Brynet | Re: OpenBSD users.
Oh, well in that case, hello, come here often? ;-)
...Canada, btw.
-Bryan.
| Jul 18, 4:07 pm 2010 |
| Frank Bax | Re: OpenBSD users.
There is an OpenBSD user in every country on this planet.
| Jul 17, 6:35 pm 2010 |
| Jason Dixon | Re: OpenBSD users.
Your mom's bedroom.
-J.
| Jul 18, 2:05 pm 2010 |
| Andres Genovez | Re: OpenBSD users.
Ecuador :) Rare race of South America
--
Atentamente
Andris Genovez Tobar / Sistemas
Elastix ECE - Linux LPI-1 - Novell CLA - Apple ACMT
http://www.cspmsa.com
agenovez@cspmsa.com
Jabber: bitfrost@asgard.crice.org
Comunidad: http://www.crice.org
| Jul 17, 5:55 pm 2010 |
| marellibsd marellibsd | Re: OpenBSD users.
From Serbia
| Jul 18, 6:46 am 2010 |
| Peter N. M. Hansteen | Re: OpenBSD users.
Bergen, Norway
- P
--
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
| Jul 18, 1:50 pm 2010 |
| Alexander Schrijver | Re: OpenBSD users.
The Netherlands!
| Jul 18, 2:06 pm 2010 |
| previous day | today | next day |
|---|---|---|
| July 17, 2010 | July 18, 2010 | July 19, 2010 |
