Hacker GitHub

← All repos

DigitalMars/dmc

View on GitHub ↗ ★ 144 C++

Digital Mars C and C++ Compiler

9 mentions on Hacker News by 1 person: 0 stories, 9 comments · first 2018-05-24 · latest 2022-09-09

Mentions per year 9 mentions · busiest year 2018 (3)
20082026
  1. I've actually implemented IEEE 754 floating point code, from scratch. https://github.com/DigitalMars/dmc/blob/master/src/CORE16/DO... Also, many of the math library functions, though I used "Software Manual for the Elementary Functions" by…
  2. …is this from Zortech? It's the same compiler, but upgraded for C++98. It's Open Source now. https://github.com/DigitalMars/dmc
    comment by WalterBright · 2022-04-10 · in Restored F80 compiler code for CP/M
  3. …algorithm I was taught in 3rd grade, except using binary rather than base 10. Shift-subtact-add. https://github.com/DigitalMars/dmc/blob/master/src/CORE16/LM... Did it again to create the floating point emulator.…
    comment by WalterBright · 2021-05-18 · in California Tries to “Cancel Math Class”
  4. …that only had shift and add instructions. I've implemented IEEE 754 floating point packages, too. https://github.com/DigitalMars/dmc/blob/master/src/CORE16/FL... Multiplication is repeated addition. Yes, I know about roundoff errors,…
  5. …://www.digitalmars.com/download/freecompiler.html Source code to the compiler/libraries is also free: https://github.com/DigitalMars/dmc https://github.com/DigitalMars/Compiler
  6. Just for fun, here's my IEEE 754 implementation of double precision floating point for the 8088: https://github.com/DigitalMars/dmc/blob/master/src/CORE16/DO...
  7. …bring, so you're pretty much suffering from it anyway. BTW, here's the strcat I wrote eons ago: https://github.com/DigitalMars/dmc/blob/master/src/CORE32/ST... It does do two strlen's (the repne scasb instructions). With the improvements…
  8. https://github.com/DigitalMars/dmc
    comment by WalterBright · 2018-05-24 · in DigitalMars C/C++ Compiler
  9. I realized I had neglected to make the source to the runtime library available. Fixed that: https://github.com/DigitalMars/dmc/tree/master/src Everything in it that is copyrighted Symantec or Digital Mars is now Boost licensed. In…
    comment by WalterBright · 2018-05-24 · in Consider using Digital Mars C compiler