All Content
Blogs
Forums
News
Tutorials
Log In
Sign Up
Login
Username / Email
Password
Remember me
Forgot password?
Login
or
Don't have a GameDev.net account?
Sign up
Forgot your password?
Email Address
Reset Password
Please contact us if you have any trouble resetting your password.
Home
Blogs
Forums
News
Portfolios
Projects
Tutorials
34
users logged in
New?
Learn about game development
.
Before posting, review our
community guidelines
.
Follow Us
Chat in the
GameDev.net Discord!
Mastodon
Back to Math and Physics
1.53452352352 to 1.53 ??
Math and Physics
Programming
Started by
Rasmadrak
March 25, 2004 08:37 AM
9
comments, last by
Rasmadrak
20 years ago
Prev
1
2
(current)
jperalta
356
March 26, 2004 07:00 AM
I think the easiser way is:
if (fabs(floatb - floata) < 0.0001)
Cancel
Save
Prev
1
2
(current)
This topic is closed to new replies.
Advertisement
Popular Topics
How do you manage yourself and your time as years pass on?
GDNet Lounge
Too many managers?
General and Gameplay Programming
Do your part to stop global warming and climate change
GDNet Lounge
The promise of freedom in story games
Game Design and Theory
Facebook Ads for sales on steam, does it work?
Games Business and Law
Understanding the wavy-like shape in alpha-testing magnification for text rendering
Graphics and GPU Programming
Advertisement
Recommended Tutorials
Using an RTF Log File
General and Gameplay Programming
Shader Programming Part I: Fundamentals of Vertex Shaders
Graphics and GPU Programming
The Total Beginner’s Guide to Better 2D Game Art
Visual Arts
Using Text-To-Speech as a Game Programming Tool
Engines and Middleware
How Long Does It Take To Localize An Indie Game?
Production and Management
Reticulating splines
About GameDev.net
Community Guidelines
Terms of Service
Privacy Policy
Contact Us
Copyright (c) 1999-2024 GameDev.net, LLC
Back to Top