Using the java.lang.Math with different VM
From: Kasper K (kasper_at_kau.dk)
Date: 03/12/04
- Next message: FISH: "Re: Plucking a String"
- Previous message: Andrew Thompson: "Re: Find my "program" folder?"
- Next in thread: Boris Stumm: "Re: Using the java.lang.Math with different VM"
- Reply: Boris Stumm: "Re: Using the java.lang.Math with different VM"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 12 Mar 2004 03:09:42 -0800
Hi there,
Does anyone know if java.lang.Math is robust when used with multiple
Virtual Machines? That is does the sin, cos, tan and atan return the
exact same double values when given same double arguments on all VM
including MS VM 1.1.8 to Sun VM 1.4.2?
I think it does not based on testing it. Does anyone have a suggestion
of how to get around this problem? I am making a Bob-Game that relies
on that the server and clients getting the same results. Does there
exist a Math library that is VM and hardware independent e.g. using
look up tables.
/Kasper - Denmark
- Next message: FISH: "Re: Plucking a String"
- Previous message: Andrew Thompson: "Re: Find my "program" folder?"
- Next in thread: Boris Stumm: "Re: Using the java.lang.Math with different VM"
- Reply: Boris Stumm: "Re: Using the java.lang.Math with different VM"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|