Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fadecandy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scanlime
Fadecandy
Commits
37bc6b78
Commit
37bc6b78
authored
11 years ago
by
Micah Elizabeth Scott
Browse files
Options
Downloads
Patches
Plain Diff
SVL: Use 32-bit float by default
parent
2e62be6b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/cpp/lib/svl/Basics.h
+4
-4
4 additions, 4 deletions
examples/cpp/lib/svl/Basics.h
with
4 additions
and
4 deletions
examples/cpp/lib/svl/Basics.h
+
4
−
4
View file @
37bc6b78
...
...
@@ -5,7 +5,8 @@
definitions, assertion and debugging facilities, and
miscellaneous useful template functions.
This is a cut-down version for SVL.
This is a cut-down version for SVL,
with additional modifications for Fadecandy.
Author(s): Andrew Willmott
...
...
@@ -15,7 +16,7 @@
VL_CHECKING - Include code for assertions,
range errors and warnings.
VL_
FLOAT
- Use
float
s for real numbers. (
Double
s
VL_
DOUBLE
- Use
double
s for real numbers. (
Float
s
are the default.)
VL_NO_BOOL - There is no bool type.
VL_NO_TF - true and false are not predefined.
...
...
@@ -24,7 +25,6 @@
#ifndef __Basics__
#define __Basics__
#include
"SVLConfig.h"
#include
<iostream>
#include
<cmath>
...
...
@@ -41,7 +41,7 @@ typedef long Long;
typedef
unsigned
char
Byte
;
typedef
unsigned
int
UInt
;
#if
n
def VL_
FLOAT
#ifdef VL_
DOUBLE
typedef
Double
Real
;
#else
typedef
Float
Real
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment