Fixed Point Decimal Class for C++

I recently needed a fixed point decimal support in C++ for an inventory program I’m writing. Why doesn’t one already exist? I don’t know. There’s one for boost, but since I’m already using Qt, I don’t really see a need to pull in yet another (big) dependency.

It’s public domain, and appears to work (for me, anyway). It’s all standard C++ with no extra dependencies, and should work on all operating systems (although I’ve only tested it on Linux/g++-3.4). Please shoot me a mail (tajmorton@gmail.com) or leave a comment if you find a problem. See this page for it if you’re interested (hello Google bot):

Fixed Point Decimal Class for C++

abilify vs
acai
buy accutane without a prescription
aciphex overnight no rx
acomplia online
actonel online
generic actos
aleve pills
purchase allegra
alli withdrawl
altace information
purchase antibiotics online
cost of aricept
buy arimidex online
ashwagandha cost
astelin pills
atacand vs
atarax with no prescription
generic augmentin
avandia online pharmacy
avapro cost
order avodart online
bactrim
benadryl product
price of benicar
biaxin drugs
buspar mg
cardizem product
prices celebrex
celadrin
buy cephalexin without prescription
purchase cialis
cipro online
cla medication
cost of clarinex
claritin delivery
clomid mg
cheapest clonidine
colchicine vs
buy coreg without a prescription
coumadin withdrawl
price of cozaar
creatine
discount crestor
cymbalta no prescription
price of cytotec
depakote tablets
diclofenac with no prescription
differin order online shipping
diflucan overnight no rx
diovan overnight no rx
doxycycline information
effexor tablet
flagyl
flomax pills
glucophage drugs
hair loss
hangover
cheapest hoodia
keppra
generic lamictal
lamisil delivery
buying lasix
purchase levaquin
levitra discounted
lexapro online pharmacy
cheap lipitor no prescription
lisinopril online
melatonin medication
metformin
methotrexate
micardis canada
no prescription mobic
motrin order online shipping
msm
neurontin rx
nexium mg
nizoral rx
nolvadex pills
omnicef tablet
paxil
penis extender information
phentermine
phosphatidylserine
plan b medication
buying plavix
pravachol online pharmacy
prednisone pills
buy premarin without a prescription
prevacid drugs
cheap prometrium no prescription
propecia medication
cheap provera
prozac overnight no rx
reglan tablet
reminyl
price of rimonabant
purchase risperdal
rogaine delivery
seroquel order online shipping
singulair coupon
skelaxin reviews
prices stop smoking
strattera product
stress relief discounted
synthroid
tetracycline
topamax canada
toprol
generic toradol
cheap tramadol no prescription
trazodone
tricor online pharmacy
trileptal online pharmacy
buy ultracet without a prescription
price of valtrex
viagra mg
order voltaren
vytorin
prices weight loss
wellbutrin
yohimbe
zantac canada
buy zetia without a prescription
zestoretic withdrawl
zithromax rx
zoloft delivery
order zovirax online
buy zyban without prescription
zyprexa medication
zyrtec online pharmacy
zyvox with no prescription

One Response to “Fixed Point Decimal Class for C++”

  1. Joseph Garvin Says:

    I’m not sure if it’s the case for that class specifically in boost, but the vast majority of boost libraries are header only templates. These are statically compiled in (so they aren’t a packaging concern) and you only ‘link’ against the templates you actually instantiate (so it wouldn’t bloat the executable either). So I wouldn’t really be concerned about the dependency.