Skip to content

Instantly share code, notes, and snippets.

View timotheecour's full-sized avatar

Timothee Cour timotheecour

View GitHub Profile
Hint: /Users/timothee/git_clone/nim/Nim_devel/lib/system.nim [Processing]
Hint: /Users/timothee/git_clone/nim/Nim_devel/lib/std/private/since.nim [Processing]
Hint: /Users/timothee/git_clone/nim/Nim_devel/lib/system/ansi_c.nim [Processing]
Hint: /Users/timothee/git_clone/nim/Nim_devel/lib/system/memory.nim [Processing]
Hint: /Users/timothee/git_clone/nim/Nim_devel/lib/system/assertions.nim [Processing]
Hint: /Users/timothee/git_clone/nim/Nim_devel/lib/std/private/miscdollars.nim [Processing]
Hint: /Users/timothee/git_clone/nim/Nim_devel/lib/system/iterators.nim [Processing]
Hint: /Users/timothee/git_clone/nim/Nim_devel/lib/system/coro_detection.nim [Processing]
Hint: /Users/timothee/git_clone/nim/Nim_devel/lib/system/dollars.nim [Processing]
Hint: /Users/timothee/git_clone/nim/Nim_devel/lib/std/private/digitsutils.nim [Processing]
Hint: (nims) (toplevel): import: /Users/timothee/git_clone/nim/Nim_prs/lib/system.nim [Processing]
Hint: (nims) system: include: /Users/timothee/git_clone/nim/Nim_prs/lib/system/basic_types.nim [Processing]
Hint: (nims) system: include: /Users/timothee/git_clone/nim/Nim_prs/lib/system/arithmetics.nim [Processing]
Hint: (nims) system: include: /Users/timothee/git_clone/nim/Nim_prs/lib/system/comparisons.nim [Processing]
Hint: (nims) system: include: /Users/timothee/git_clone/nim/Nim_prs/lib/system/inclrtl.nim [Processing]
Hint: (nims) system: include: /Users/timothee/git_clone/nim/Nim_prs/lib/system/exceptions.nim [Processing]
Hint: (nims) system: include: /Users/timothee/git_clone/nim/Nim_prs/lib/system/setops.nim [Processing]
Hint: (nims) > system: import: /Users/timothee/git_clone/nim/Nim_prs/lib/std/private/since.nim [Processing]
Hint: (nims) system: include: /Users/timothee/git_clone/nim/Nim_prs/lib/system/memalloc.nim [Processing]
Hint: (nims) system: include: /Users/timothee/git_clone/nim/Nim_p
`nim r -d:danger $vitanim_D/testcases/t10977b.nim` after commenting out these on top of ecfebae
```
mainAux(addInt0)
mainAux(addInt1)
mainAux(addInt3)
mainAux(addIntDigits10)
```
addInt3OpenArray
(time: 0.953224, alg: "addInt3OpenArray", mode2: 1, sanity: 6057706836)
Traceback (most recent call last)
/Users/timothee/git_clone/nim/Nim_prs/compiler/nim.nim(125) nim
/Users/timothee/git_clone/nim/Nim_prs/compiler/nim.nim(84) handleCmdLine
/Users/timothee/git_clone/nim/Nim_prs/compiler/main.nim(275) mainCommand
/Users/timothee/git_clone/nim/Nim_prs/compiler/main.nim(245) compileToBackend
/Users/timothee/git_clone/nim/Nim_prs/compiler/main.nim(101) commandCompileToC
/Users/timothee/git_clone/nim/Nim_prs/compiler/modules.nim(178) compileProject
/Users/timothee/git_clone/nim/Nim_prs/compiler/modules.nim(97) compileModule
/Users/timothee/git_clone/nim/Nim_prs/compiler/passes.nim(180) processModule
/Users/timothee/git_clone/nim/Nim_prs/compiler/passes.nim(73) processTopLevelStmt
Category: dll
Name: tests/dll/client.nim c --gc:boehm --threads:on
Action: run
Result: reExitcodesDiffer
-------- Expected -------
exitcode: 0
--------- Given --------
exitcode: 1
Output:
## Copyright 2020 Junekey Jeon
## Copyright 2020 Alexander Bolz
##
## Distributed under the Boost Software License, Version 1.0.
## (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
## char* output_end = Dtoa(buffer, value);
##
## Converts the given double-precision number into decimal form and stores the result in the given
## buffer.
@timotheecour
timotheecour / dragonbox.nim
Created May 25, 2021 22:22
c2nim --cpp dragonbox.cc
## Copyright 2020 Junekey Jeon
## Copyright 2020 Alexander Bolz
##
## Distributed under the Boost Software License, Version 1.0.
## (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
## char* output_end = Dtoa(buffer, value);
##
## Converts the given double-precision number into decimal form and stores the result in the given
## buffer.
```
when defined case11: # D20210513T184020:here
import math,strformat
echo " in | cm"
echo "---------------------"
for i in 1 .. 40:
echo fmt"{i:3}", " | ", round(float(i) * 2.54, 2)
```
after PR:
https://dev.azure.com/nim-lang/255dfe86-e590-40bb-a8a2-3c0295ebdeb1/_apis/build/builds/16259/logs/108
2021-05-06T03:21:29.0496753Z ##[section]Starting: Run CI
2021-05-06T03:21:29.0504449Z ==============================================================================
2021-05-06T03:21:29.0504778Z Task : Bash
2021-05-06T03:21:29.0505072Z Description : Run a Bash script on macOS, Linux, or Windows
2021-05-06T03:21:29.0505355Z Version : 3.182.0
2021-05-06T03:21:29.0505610Z Author : Microsoft Corporation
2021-05-06T03:21:29.0505947Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2021-05-06T03:21:29.0506354Z ==============================================================================
https://dev.azure.com/nim-lang/255dfe86-e590-40bb-a8a2-3c0295ebdeb1/_apis/build/builds/16260/logs/90
2021-05-06T03:09:59.2455176Z ##[section]Starting: Run CI
2021-05-06T03:09:59.2461624Z ==============================================================================
2021-05-06T03:09:59.2462092Z Task : Bash
2021-05-06T03:09:59.2462378Z Description : Run a Bash script on macOS, Linux, or Windows
2021-05-06T03:09:59.2462679Z Version : 3.182.0
2021-05-06T03:09:59.2462922Z Author : Microsoft Corporation
2021-05-06T03:09:59.2463286Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2021-05-06T03:09:59.2463683Z ==============================================================================